From e83f13dde8afd495f308ca26e76d3aacb3244b94 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Wed, 31 Jan 2024 07:47:00 +0200 Subject: [PATCH] Skip pushing chain spec assets unless release is built --- .github/workflows/chain-spec-snapshot-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/chain-spec-snapshot-build.yml b/.github/workflows/chain-spec-snapshot-build.yml index 424d9663c9..e298e551eb 100644 --- a/.github/workflows/chain-spec-snapshot-build.yml +++ b/.github/workflows/chain-spec-snapshot-build.yml @@ -46,3 +46,5 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: asset_paths: '["chain-spec-gemini-3h.json", "chain-spec-raw-gemini-3h.json"]' + # Only run for releases + if: github.event_name == 'push' && github.ref_type == 'tag'