Skip to content

Commit 6e32d86

Browse files
authored
Update dotnet-desktop.yml
1 parent 2943bbb commit 6e32d86

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,21 @@ jobs:
3434
- name: Create ZIP archive
3535
run: |
3636
mkdir artifacts
37-
$tag = ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.ref_name }}
37+
$tag = "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.ref_name }}"
38+
Write-Output "Tag is: $tag"
3839
Compress-Archive -Path SDDLConvertDomainConsole\bin\Release\* -DestinationPath "artifacts\SDDLConvertDomain-win-x64-$tag.zip"
3940
4041
4142
- name: Upload artifact
4243
uses: actions/upload-artifact@v4
4344
with:
4445
name: SDDLConvertDomain-win-x64-$tag.zip
45-
path: artifacts\SDDLConvertDomain-win-x64-$tag.zip
46+
path: artifacts\SDDLConvertDomain-win-x64-*.zip
4647

4748
- name: Create GitHub Release
4849
uses: ncipollo/release-action@v1
4950
with:
50-
artifacts: artifacts\SDDLConvertDomain-win-x64-$tag.zip
51+
artifacts: artifacts\SDDLConvertDomain-win-x64-*.zip
5152
token: ${{ secrets.GITHUB_TOKEN }}
5253
tag: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.ref_name }}
5354
name: Release ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.ref_name }}

0 commit comments

Comments
 (0)