File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ jobs:
17
17
uses : actions/setup-dotnet@v1
18
18
with :
19
19
dotnet-version : 6.0.x
20
+
20
21
- name : Set outputs
21
22
id : vars
22
23
run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" &&
23
24
echo "::set-output name=version_tag::${GITHUB_REF#refs/*/}" &&
24
25
echo "::set-output name=solution_name::WineBridge.sln"
26
+
25
27
- name : Restore dependencies
26
28
working-directory : src/
27
29
run : dotnet restore ${{ steps.vars.outputs.solution_name }}
40
42
working-directory : src/WineBridge/bin/Release/net6.0/win-x86/publish
41
43
name : WineBridge-${{ steps.vars.outputs.sha_short }}
42
44
path : WineBridge.exe
45
+
46
+ - name : Package
47
+ working-directory : src/WineBridge/bin/Release/net6.0/win-x86/publish
48
+ run : |
49
+ tar cJvf WineBridge-${{ steps.vars.outputs.sha_short }}.tar.xz WineBridge.exe
50
+ mv WineBridge-${{ steps.vars.outputs.sha_short }}.tar.xz /tmp/WineBridge-${{ steps.vars.outputs.sha_short }}.tar.xz
43
51
44
52
# Release packages
45
53
# --------------------------------------
50
58
prerelease : false
51
59
automatic_release_tag : ${{ steps.vars.outputs.version_tag }}
52
60
title : ${{ steps.vars.outputs.version_tag }}
53
- files : src/WineBridge/bin/Release/net6.0/win-x86/publish/ WineBridge.exe
61
+ files : /tmp/ WineBridge-${{ steps.vars.outputs.sha_short }}.tar.xz
You can’t perform that action at this time.
0 commit comments