File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 39
39
- name : Publish
40
40
run : dotnet publish KubeJobs/KubeJobs.csproj -c Release -o winoutput --self-contained -r win-x64
41
41
42
- - name : action-zip
42
+ - name : Zip Win output folder
43
43
44
44
with :
45
45
args : zip -qq -r ./kubernetes-batchjob-container-win.zip winoutput
73
73
release_name : Release ${{ github.ref }}
74
74
draft : false
75
75
prerelease : false
76
+
77
+ - name : Upload Release Asset Linux
78
+ id : upload-release-asset-linux
79
+ uses : actions/upload-release-asset@v1
80
+ env :
81
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82
+ with :
83
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
84
+ asset_path : ./kubernetes-batchjob-container-linux.tar.gz
85
+ asset_name : kubernetes-batchjob-container-linux.tar.gz
86
+ asset_content_type : application/zip
87
+
88
+ - name : Upload Release Asset Win
89
+ id : upload-release-asset-win
90
+ uses : actions/upload-release-asset@v1
91
+ env :
92
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93
+ with :
94
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
95
+ asset_path : ./kubernetes-batchjob-container-win.zip
96
+ asset_name : kubernetes-batchjob-container-win.zip
97
+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments