From 53b62d200996b8c1be2ebab4a7611e9f3e9f6d63 Mon Sep 17 00:00:00 2001 From: Dugi Date: Mon, 26 Dec 2022 21:51:16 -0700 Subject: [PATCH] Update release.yml to check version --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44698dd..8d11a29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: