-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d98f9ed
commit 44470b8
Showing
1 changed file
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/release/${{ REPOSITORY_NAME }}.exe | ||
asset_name: x86_64-windows-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }}.exe | ||
asset_path: ./target/release/${{ env.REPOSITORY_NAME }}.exe | ||
asset_name: x86_64-windows-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }}.exe | ||
asset_content_type: application/octet-stream | ||
|
||
release: | ||
|
@@ -67,8 +67,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/x86_64-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: x86_64-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/x86_64-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: x86_64-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
- name: install wasi target | ||
|
@@ -81,16 +81,16 @@ jobs: | |
run: cargo install --force wasm-gc | ||
|
||
- name: run wasm-gc | ||
run: wasm-gc ./target/wasm32-wasi/release/${{ REPOSITORY_NAME }}.wasm | ||
run: wasm-gc ./target/wasm32-wasi/release/${{ env.REPOSITORY_NAME }}.wasm | ||
|
||
- name: Upload wasm | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/wasm32-wasi/release/${{ REPOSITORY_NAME }}.wasm | ||
asset_name: wasm32-wasi-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }}.wasm | ||
asset_path: ./target/wasm32-wasi/release/${{ env.REPOSITORY_NAME }}.wasm | ||
asset_name: wasm32-wasi-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }}.wasm | ||
asset_content_type: application/octet-stream | ||
|
||
release-aarch64-unknown-linux-gnu: | ||
|
@@ -125,8 +125,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/aarch64-unknown-linux-gnu/release/${{ REPOSITORY_NAME }} | ||
asset_name: aarch64-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/aarch64-unknown-linux-gnu/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: aarch64-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -164,8 +164,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/aarch64-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: aarch64-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/aarch64-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: aarch64-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -203,8 +203,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/arm-unknown-linux-musleabi/release/${{ REPOSITORY_NAME }} | ||
asset_name: arm-unknown-linux-musleabi-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/arm-unknown-linux-musleabi/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: arm-unknown-linux-musleabi-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -242,8 +242,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/arm-unknown-linux-musleabihf/release/${{ REPOSITORY_NAME }} | ||
asset_name: arm-unknown-linux-musleabihf-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/arm-unknown-linux-musleabihf/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: arm-unknown-linux-musleabihf-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -281,8 +281,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/armv5te-unknown-linux-musleabi/release/${{ REPOSITORY_NAME }} | ||
asset_name: armv5te-unknown-linux-musleabi-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/armv5te-unknown-linux-musleabi/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: armv5te-unknown-linux-musleabi-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -320,8 +320,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/armv7-unknown-linux-musleabihf/release/${{ REPOSITORY_NAME }} | ||
asset_name: armv7-unknown-linux-musleabihf-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/armv7-unknown-linux-musleabihf/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: armv7-unknown-linux-musleabihf-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -359,8 +359,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/i586-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: i586-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/i586-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: i586-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -398,8 +398,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/i686-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: i686-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/i686-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: i686-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -437,8 +437,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/mips-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: mips-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/mips-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: mips-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -476,8 +476,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/mipsel-unknown-linux-musl/release/${{ REPOSITORY_NAME }} | ||
asset_name: mipsel-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/mipsel-unknown-linux-musl/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: mipsel-unknown-linux-musl-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -515,8 +515,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/powerpc-unknown-linux-gnu/release/${{ REPOSITORY_NAME }} | ||
asset_name: powerpc-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/powerpc-unknown-linux-gnu/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: powerpc-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -554,8 +554,8 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/riscv64gc-unknown-linux-gnu/release/${{ REPOSITORY_NAME }} | ||
asset_name: riscv64gc-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/riscv64gc-unknown-linux-gnu/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: riscv64gc-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream | ||
|
||
|
||
|
@@ -593,6 +593,6 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./target/s390x-unknown-linux-gnu/release/${{ REPOSITORY_NAME }} | ||
asset_name: s390x-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ REPOSITORY_NAME }} | ||
asset_path: ./target/s390x-unknown-linux-gnu/release/${{ env.REPOSITORY_NAME }} | ||
asset_name: s390x-unknown-linux-gnu-${{ steps.get_release.outputs.tag_name }}-${{ env.REPOSITORY_NAME }} | ||
asset_content_type: application/octet-stream |