File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
run : echo "::set-output name=upload_url::${{ steps.create_release.outputs.upload_url }}"
33
33
outputs :
34
34
upload_url : ${{ steps.step_upload_url.outputs.upload_url }}
35
+ sha_short : ${{ steps.create_short_sha.outputs.sha_short }}
35
36
36
37
build-android :
37
38
name : Build android and upload
67
68
needs : create-release
68
69
steps :
69
70
- uses : actions/checkout@v2
70
- - uses : montudor/action-zip@v1.0.0
71
71
- uses : subosito/flutter-action@v1
72
72
with :
73
73
channel : beta
@@ -78,13 +78,13 @@ jobs:
78
78
- name : Build windows
79
79
run : flutter build windows
80
80
- name : Zip windows build
81
- run : zip -r corecoder_develop_ ${{ needs.jobs.create-release.outputs.sha_short }}.zip ${{ github.workspace }}/build/windows/runner/Release/
81
+ run : powershell Compress-Archive -DestinationPath ${{ github.workspace }}/windows_build .zip -Path ${{ github.workspace }}/build/windows/runner/Release/*
82
82
- name : Upload windows build to release
83
83
uses : actions/upload-release-asset@v1
84
84
env :
85
85
GITHUB_TOKEN : ${{ github.token }}
86
86
with :
87
87
upload_url : ${{ needs.create-release.outputs.upload_url }}
88
- asset_path : ${{ github.workspace }}/build/windows/runner/Release/corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }} .zip
88
+ asset_path : ${{ github.workspace }}/windows_build .zip
89
89
asset_name : corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip
90
90
asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments