Only upload artifacts on pushes.

This commit is contained in:
Ryan Stecker 2024-03-03 17:24:24 -06:00
parent 57975a3b84
commit e3643ff6de

View File

@ -158,5 +158,8 @@ jobs:
run: zip -r "${{ env.ZIP_FILENAME }}" .
- uses: actions/upload-artifact@v4
name: Upload artifacts
if: github.event_name == 'push' && github.ref == 'refs/heads/action'
working-directory: extension/build/package
with:
path: "${{ env.ZIP_FILENAME }}"