Skip to content

Commit 702cfd3

Browse files
committed
Only upload AOT artifacts and run build job on push events, not PRs
1 parent d1d4b7c commit 702cfd3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
echo "$OUTPUT" | grep -q "indent_style" || (echo "ERROR: expected indent_style in output" && exit 1)
8383
8484
- name: Upload per-RID package
85+
if: github.event_name == 'push'
8586
uses: actions/upload-artifact@v4 # v4.6.2
8687
with:
8788
name: nupkg-${{ matrix.rid }}
@@ -90,6 +91,7 @@ jobs:
9091

9192
# ── Managed build / pack / validate / publish ────────────────────────────────
9293
build:
94+
if: github.event_name == 'push'
9395
runs-on: ubuntu-latest
9496
needs: aot-pack
9597
permissions:

0 commit comments

Comments
 (0)