diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-25 15:37:15 -0400 |
---|---|---|
committer | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-25 15:37:15 -0400 |
commit | 9fa5f3c4e9c4971a2ced405852338c78d4f2e289 (patch) | |
tree | 6ef7ec6078af7af2b22bf103cb84e8bee5c42d4a | |
parent | a3ae8e08a24bd79a30a7b9ffae1b291ff02d8a2c (diff) |
ci: fix winget action
-rw-r--r-- | .github/workflows/post-release.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 37481aeb..daf1afce 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -90,6 +90,13 @@ jobs: winget: runs-on: windows-latest steps: + - name: Set env + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + + - name: Test env + run: | + echo $RELEASE_VERSION + - name: Make sure you're not on master/main/nightly... run: | if [[ $RELEASE_VERSION == "master" || $RELEASE_VERSION == "main" || $RELEASE_VERSION == "nightly" ]]; then |