diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3217d95..83b5093 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -153,12 +153,14 @@ jobs: - name: Download CSS pack uses: actions/download-artifact@v4 + if: github.event_name == 'release' with: name: dist-package-css path: dist-css - name: Add CSS package to the release uses: actions/upload-release-asset@v1.0.1 + if: github.event_name == 'release' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: