Skip to content

Commit

Permalink
github workflow syntax fix
Browse files Browse the repository at this point in the history
Signed-off-by: David Liu <david.yx.liu@oracle.com>
  • Loading branch information
David Liu committed May 17, 2022
1 parent 89b755d commit ebbbec9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: ${{ steps.meta.outputs.labels }}
build-and-release-binary:
if: startsWith(github.event.push.ref, 'refs/tags/')
if: startsWith(github.event.ref, 'refs/tags/')
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Github workflow test
on:
pull_request:
push:
branches: # pushing tags is also considered as a push. Exclude this here.
- "*"
schedule:
- cron: "0 0 * * 0" # https://crontab.guru/#0_0_*_*_0
jobs:
Expand Down

0 comments on commit ebbbec9

Please sign in to comment.