Browse Source

put both adapter binaries in one artifact, name it bins-*, publish it

pull/6374/head
Pat Hickey 2 years ago
parent
commit
880f94a7e0
  1. 9
      .github/workflows/main.yml
  2. 2
      .github/workflows/publish-artifacts.yml

9
.github/workflows/main.yml

@ -547,13 +547,8 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: wasi_preview1_component_adapter.reactor.wasm
path: crates/wasi-preview1-component-adapter/target/wasm32-unknown-unknown/release/wasi_preview1_component_adapter.reactor.wasm
- uses: actions/upload-artifact@v3
with:
name: wasi_preview1_component_adapter.command.wasm
path: crates/wasi-preview1-component-adapter/target/wasm32-unknown-unknown/release/wasi_preview1_component_adapter.command.wasm
name: bins-wasi-preview1-component-adapter
path: crates/wasi-preview1-component-adapter/target/wasm32-unknown-unknown/release/wasi_preview1_component_adapter.*.wasm
# common logic to cancel the entire run if this job fails

2
.github/workflows/publish-artifacts.yml

@ -42,7 +42,7 @@ jobs:
- run: |
mkdir dist
mv -t dist bins-*/*.tar.*
mv -t dist bins-*/*.{zip,msi}
mv -t dist bins-*/*.{zip,msi,wasm}
- name: Publish Release
uses: ./.github/actions/github-release
with:

Loading…
Cancel
Save