Skip to content

Commit 3f493a1

Browse files
committed
Run conditionally
1 parent f2cd2d9 commit 3f493a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
go: [ '1.14' ]
1616
name: Build ${{ matrix.go }}
1717
steps:
18-
- run: echo '${{ github.ref }}'
1918
- uses: aws-actions/configure-aws-credentials@v1
2019
with:
2120
aws-access-key-id: ${{ secrets.SIGSCI_PROD_ACCESS_KEY_ID }}
@@ -26,7 +25,7 @@ jobs:
2625
- name: build
2726
run: ./scripts/build.sh
2827
- name: upload
29-
if: ${{ github.ref }} == "/refs/heads/master"
28+
if: ${{ github.ref == '/refs/heads/master' }}
3029
run: |
3130
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 803688608479.dkr.ecr.us-west-2.amazonaws.com
3231
./upload.sh

0 commit comments

Comments
 (0)