File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,19 @@ jobs:
7272 name : python-wasm-near-${{ github.sha }}
7373 path : |
7474 artifacts/
75- - name : " Upload python.wasm "
75+ - name : Create release zip
7676 if : github.event_name == 'release'
77- uses : actions/upload-release-asset@v1
78- env :
79- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80- with :
81- upload_url : ${{ github.event.release.upload_url }}
82- asset_path : ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python.wasm
83- asset_name : python.wasm
84- asset_content_type : application/wasm
85- - name : " Upload python-stdlib.zip"
77+ run : |
78+ cd artifacts
79+ zip -r ../python-wasm-near-${{ github.event.release.tag_name }}.zip .
80+ cd ..
81+ - name : " Upload release zip"
8682 if : github.event_name == 'release'
8783 uses : actions/upload-release-asset@v1
8884 env :
8985 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9086 with :
9187 upload_url : ${{ github.event.release.upload_url }}
92- asset_path : ${{ env.CROSS_BUILD_EMSCRIPTEN_NEAR }}/python-stdlib .zip
93- asset_name : python-stdlib .zip
88+ asset_path : python-wasm-near- ${{ github.event.release.tag_name }}.zip
89+ asset_name : python-wasm-near-${{ github.event.release.tag_name }} .zip
9490 asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments