File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,19 @@ jobs:
28
28
- name : Publish the application
29
29
run : dotnet publish D:\a\ATA-GUI\ATA-GUI\ATA-GUI\ATA-GUI.csproj --configuration Release --runtime win-x64 --self-contained false /p:PublishSingleFile=true --output ./publish
30
30
31
- - name : Zip the published output
32
- run : Compress-Archive -Path ./publish/ATA-GUI.exe, ./LICENSE -DestinationPath ATA-GUI.zip
33
- shell : pwsh
34
-
35
31
- name : Get Previous tag
36
32
id : previoustag
37
33
uses : " WyriHaximus/github-action-get-previous-tag@v1.4.0"
38
34
35
+ - name : Zip the published output
36
+ run : Compress-Archive -Path ./publish/ATA-GUI.exe, ./LICENSE -DestinationPath ATA-GUI_${{ steps.previoustag.outputs.tag }}.zip
37
+ shell : pwsh
38
+
39
39
- name : Create Release
40
40
uses : ncipollo/release-action@v1.14.0
41
41
with :
42
42
generateReleaseNotes : true
43
- artifacts : ATA-GUI .zip
43
+ artifacts : ATA-GUI_${{ steps.previoustag.outputs.tag }} .zip
44
44
name : ${{ steps.previoustag.outputs.tag }}
45
45
tag : ${{ steps.previoustag.outputs.tag }}
46
46
token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments