diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c186ddb..531a375 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: npm_config_target_arch: ${{ matrix.arch }} run: pnpm build:win --${{ matrix.arch }} - name: Upload Artifacts + if: startsWith(github.ref, 'refs/head/') uses: actions/upload-artifact@v4 with: name: Windows ${{ matrix.arch }} @@ -92,6 +93,7 @@ jobs: npm_config_target_arch: ${{ matrix.arch }} run: pnpm build:linux --${{ matrix.arch }} - name: Upload Artifacts + if: startsWith(github.ref, 'refs/head/') uses: actions/upload-artifact@v4 with: name: Linux ${{ matrix.arch }} @@ -142,6 +144,7 @@ jobs: npm_config_target_arch: ${{ matrix.arch }} run: pnpm build:mac --${{ matrix.arch }} - name: Upload Artifacts + if: startsWith(github.ref, 'refs/head/') uses: actions/upload-artifact@v4 with: name: MacOS ${{ matrix.arch }} @@ -196,6 +199,7 @@ jobs: allow_empty_commits: false aur-git-updater: + if: startsWith(github.ref, 'refs/head/') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4