Skip to content

Commit

Permalink
update v1.0.13-beta.11
Browse files Browse the repository at this point in the history
  • Loading branch information
cngege committed Jan 8, 2025
1 parent 73f6640 commit 39426f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ jobs:

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

0 comments on commit 39426f3

Please sign in to comment.