build: upload web-dist to release assets on tag (#1731)

This commit is contained in:
ze0s 2024-09-18 09:36:00 +02:00 committed by GitHub
parent ec79eafe43
commit 1d68aec31e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,6 +140,13 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: mkdir -p dist && tar czf dist/web-dist.tar.gz --directory=web/dist ./
- name: Upload web-dist to release assets
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/web-dist.tar.gz
- name: Upload assets
uses: actions/upload-artifact@v4
with: