Skip to content

Commit 250a911

Browse files
authored
ci: Dont upload artifacts for non-release related runs (#4728)
1 parent 72aed62 commit 250a911

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ jobs:
280280
name: Upload Artifacts
281281
needs: job_build
282282
runs-on: ubuntu-latest
283+
# Build artifacts are only needed for releasing workflow.
284+
if: startsWith(github.ref, 'refs/heads/release/')
283285
steps:
284286
- name: Check out current commit (${{ github.sha }})
285287
uses: actions/checkout@v2

0 commit comments

Comments
 (0)