File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 76
76
run : flutter config --enable-windows-desktop
77
77
- name : Build windows
78
78
run : flutter build windows
79
- # TODO: upload windows i dont know windows file path help
79
+ - name : Zip windows build
80
+ run : zip -r corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip ${{ env.GITHUB_WORKSPACE }}/build/windows/runner/Release/
81
+ - name : Upload windows build to release
82
+ uses : actions/upload-release-asset@v1
83
+ env :
84
+ GITHUB_TOKEN : ${{ github.token }}
85
+ with :
86
+ upload_url : ${{ needs.create-release.outputs.upload_url }}
87
+ asset_path : ${{ env.GITHUB_WORKSPACE }}/build/windows/runner/Release/corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip
88
+ asset_name : corecoder_develop_${{ needs.jobs.create-release.outputs.sha_short }}.zip
89
+ asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments