Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
fix(ci): build artifacts only for master
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed May 29, 2021
1 parent 31412f2 commit a8a93e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
make build
- name: Upload linux build
if: matrix['go-version'] == '1.16.x' && (contains(github.ref, 'master') || contains(github.event.pull_request.body, '[Build]'))
if: matrix['go-version'] == '1.16.x' && (github.ref == 'refs/head/master' || contains(github.event.pull_request.body, '[Build]'))
uses: actions/upload-artifact@v1
with:
name: anycable-go-Linux-x86_64
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
make build
- name: Upload MacOS build
if: matrix['go-version'] == '1.16.x' && (contains(github.ref, 'master') || contains(github.event.pull_request.body, '[Build]'))
if: matrix['go-version'] == '1.16.x' && (github.ref == 'refs/head/master' || contains(github.event.pull_request.body, '[Build]'))
uses: actions/upload-artifact@v1
with:
name: anycable-go-Darwin-x86_64
Expand Down

0 comments on commit a8a93e9

Please sign in to comment.