Skip to content

Commit

Permalink
ci: fix winget action
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Jun 25, 2023
1 parent a3ae8e0 commit 9fa5f3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fa5f3c

Please sign in to comment.