diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a091107..f3e7ce1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -137,7 +137,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create web-dist artifact - run: tar czf dist/web-dist.tar.gz --directory=web/dist ./ + if: startsWith(github.ref, 'refs/tags/') + run: mkdir -p dist && tar czf dist/web-dist.tar.gz --directory=web/dist ./ - name: Upload assets uses: actions/upload-artifact@v4