Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Mar 6, 2024
1 parent 465c958 commit ca947b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
run: |
$ref = "${{ github.ref }}"
if ($ref -like "*alpha*") {
echo "status=true" >> $GITHUB_OUTPUT
echo "##[set-output name=status;]true"
} else {
echo "status=false" >> $GITHUB_OUTPUT
echo "##[set-output name=status;]false"
}
shell: powershell
- name: Echo tag
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
$tagStr="$(echo "${{ github.ref }}" | cut -d / -f 3)"
$newName="Aria2Fast-$tagStr.zip"
echo "$newName"
echo "tag=$tagStr" >> $GITHUB_OUTPUT
echo "##[set-output name=tag;]$tagStr"
Rename-Item -Path .\Aria2Fast.zip -NewName $newName
shell: powershell

Expand Down

0 comments on commit ca947b3

Please sign in to comment.