ci: fix winget action

This commit is contained in:
Clement Tsang 2023-06-25 15:37:15 -04:00
parent a3ae8e08a2
commit 9fa5f3c4e9
No known key found for this signature in database
GPG key ID: B17834EA2182446B

View file

@ -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