mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-25 14:44:39 +02:00
ci: fix winget action
This commit is contained in:
parent
a3ae8e08a2
commit
9fa5f3c4e9
7
.github/workflows/post-release.yml
vendored
7
.github/workflows/post-release.yml
vendored
@ -90,6 +90,13 @@ jobs:
|
|||||||
winget:
|
winget:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
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...
|
- name: Make sure you're not on master/main/nightly...
|
||||||
run: |
|
run: |
|
||||||
if [[ $RELEASE_VERSION == "master" || $RELEASE_VERSION == "main" || $RELEASE_VERSION == "nightly" ]]; then
|
if [[ $RELEASE_VERSION == "master" || $RELEASE_VERSION == "main" || $RELEASE_VERSION == "nightly" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user