We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad9c665 commit 57bb299Copy full SHA for 57bb299
.github/workflows/publish.yml
@@ -24,9 +24,8 @@ jobs:
24
- name: Publish
25
run: dotnet publish -c Release --self-contained true -p:PublishSingleFile=true
26
- name: Create Zip
27
- run: |
28
- cd ${{ env.output }}
29
- zip release *.*
+ run: Compress-Archive -Path ${{ env.output }}* -DestinationPath ${{ env.output }}App.zip
+ shell: pwsh
30
- name: Create Release
31
id: create_release
32
uses: actions/create-release@v1.0.0
@@ -44,6 +43,6 @@ jobs:
44
43
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
with:
46
upload_url: ${{ steps.create_release.outputs.upload_url }}
47
- asset_path: ./${{ env.output }}release.zip
+ asset_path: ./${{ env.output }}App.zip
48
asset_name: App.zip
49
asset_content_type: application/zip
0 commit comments