Skip to content

Commit e5a51d5

Browse files
committed
upgrade to latest cargo-component on CI
1 parent 54ab6be commit e5a51d5

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ on:
88

99
env:
1010
IMAGE_NAME: ${{ github.repository }}
11-
CARGO_COMPONENT_VERSION: "0.16.0"
12-
# TODO: These can be removed once https://github.com/bytecodealliance/cargo-component/pull/372 is merged
13-
COMPONENT_NAME: sample-wasi-http-rust
14-
COMPONENT_DESCRIPTION: "A sample WASI HTTP component written in Rust"
15-
COMPONENT_SOURCE: "https://github.com/bytecodealliance/sample-wasi-http-rust"
16-
COMPONENT_HOMEPAGE: "https://github.com/bytecodealliance/sample-wasi-http-rust"
17-
COMPONENT_LICENSES: "Apache-2.0 WITH LLVM-exception"
11+
CARGO_COMPONENT_VERSION: "0.21.0"
1812

1913
jobs:
2014
publish:
@@ -85,10 +79,6 @@ jobs:
8579
file: target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }}
8680
oci-reference-without-tag: ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}
8781
version: ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
88-
description: ${{ env.COMPONENT_DESCRIPTION }}
89-
source: ${{ env.COMPONENT_SOURCE }}
90-
homepage: ${{ env.COMPONENT_HOMEPAGE }}
91-
licenses: ${{ env.COMPONENT_LICENSES }}
9282

9383
- name: Sign the versioned wasm component
9484
if: github.event_name != 'workflow_dispatch'
@@ -102,10 +92,6 @@ jobs:
10292
file: target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }}
10393
oci-reference-without-tag: ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}
10494
version: latest
105-
description: ${{ env.COMPONENT_DESCRIPTION }}
106-
source: ${{ env.COMPONENT_SOURCE }}
107-
homepage: ${{ env.COMPONENT_HOMEPAGE }}
108-
licenses: ${{ env.COMPONENT_LICENSES }}
10995

11096
- name: Sign the latest wasm component
11197
if: github.event_name != 'workflow_dispatch'

0 commit comments

Comments
 (0)