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 3232 run : echo "::set-output name=upload_url::${{ steps.create_release.outputs.upload_url }}"
3333 outputs :
3434 upload_url : ${{ steps.step_upload_url.outputs.upload_url }}
35+ sha_short : ${{ steps.create_short_sha.outputs.sha_short }}
3536
3637 build-android :
3738 name : Build android and upload
6768 needs : create-release
6869 steps :
6970 - uses : actions/checkout@v2
70- - uses : montudor/action-zip@v1.0.0
7171 - uses : subosito/flutter-action@v1
7272 with :
7373 channel : beta
@@ -78,13 +78,13 @@ jobs:
7878 - name : Build windows
7979 run : flutter build windows
8080 - 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/*
8282 - name : Upload windows build to release
8383 uses : actions/upload-release-asset@v1
8484 env :
8585 GITHUB_TOKEN : ${{ github.token }}
8686 with :
8787 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
8989 asset_name : corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip
9090 asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments