Skip to content

Commit

Permalink
Merge pull request #700 from hzeller/skip-build-for-pull-request
Browse files Browse the repository at this point in the history
Don't build all release artifacts on every pull request commit.
  • Loading branch information
hzeller authored Mar 12, 2021
2 parents e47858b + 65020c9 commit 65bda40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/verible-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
name: Check · ${{ matrix.mode }}

steps:

- name: Cancel previous
uses: styfle/[email protected]
with:
Expand Down Expand Up @@ -160,6 +160,9 @@ jobs:
Build:
needs: Matrix
runs-on: ubuntu-20.04
# Github actions resources are limited; don't build artifacts for all
# platforms on every pull request, only on push.
if: ${{github.event_name == 'push'}}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 65bda40

Please sign in to comment.