diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c35da85dd473..b8b0357a8c5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -280,6 +280,8 @@ jobs: name: Upload Artifacts needs: job_build runs-on: ubuntu-latest + # Build artifacts are only needed for releasing workflow. + if: startsWith(github.ref, 'refs/heads/release/') steps: - name: Check out current commit (${{ github.sha }}) uses: actions/checkout@v2