From 6be1efe0461c874eedfa775efe2bac9c0a958d7b Mon Sep 17 00:00:00 2001 From: Colin Roberts Date: Wed, 23 Oct 2024 18:01:14 -0600 Subject: [PATCH] Update artifacts.yaml --- .github/workflows/artifacts.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index e8f6676..9423987 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -72,6 +72,16 @@ jobs: zip -r ../circom-artifacts.zip ./* cd .. + # Upload artifacts for PR + - name: Upload artifacts for PR + if: github.event_name == 'pull_request' + uses: actions/upload-artifact@v4 + with: + name: circom-artifacts + path: artifacts/ + retention-days: 5 + + # Create Release only on push to main - name: Create Release if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v1