Skip to content

Commit

Permalink
Update release.yml to check version
Browse files Browse the repository at this point in the history
  • Loading branch information
dugajean committed Dec 27, 2022
1 parent 830c8da commit 53b62d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ permissions:
contents: read

jobs:
version-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cat internal/options.go | grep $GITHUB_REF_NAME

test:
runs-on: ubuntu-latest
needs: version-check
steps:
- uses: actions/setup-go@v3
with:
Expand Down

0 comments on commit 53b62d2

Please sign in to comment.