Skip to content

Commit

Permalink
update v1.0.13-beta.12
Browse files Browse the repository at this point in the history
  • Loading branch information
cngege committed Jan 8, 2025
1 parent 39426f3 commit 55e2e93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,17 @@ jobs:
default: v0.0.0 # Optional: Default version when tag not found

- name: env_isPrerelease
shell: pwsh
run: |
#$result = ("${{steps.tag.outputs.tag}}" -like "*beta*" -as [string]).ToLower()
echo "isPrerelease=A$(("${{steps.tag.outputs.tag}}" -like "*beta*" -as [string]).ToLower())B" >> $GITHUB_ENV
$isPrerelease2 = if("${{steps.tag.outputs.tag}}" -like "*beta*") { "true" } else { "false" }
echo "isPrerelease2=$isPrerelease2" >> $GITHUB_ENV
$isPrerelease = if("${{steps.tag.outputs.tag}}" -like "*beta*") { "true" } else { "false" }
echo "isPrerelease=$isPrerelease" >> $GITHUB_ENV
- name: tree
run: |
chcp 65001
cmd /c tree ./build /F
echo "$GITHUB_ENV"
echo "${{ env.isPrerelease }}"
echo "${{ env.isPrerelease2 }}"
- name: Create release
#if: github.event.inputs.status != 'stable'
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 55e2e93

Please sign in to comment.