Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ jobs:
ls -lh wsc-*.wasm
file wsc-*.wasm

- name: Create SHA256 checksums
run: |
sha256sum wsc-component.wasm > wsc-component.wasm.sha256
cat wsc-component.wasm.sha256

if [ -f wsc-cli.wasm ]; then
sha256sum wsc-cli.wasm > wsc-cli.wasm.sha256
cat wsc-cli.wasm.sha256
fi

- name: Build wsc Native CLI
run: |
echo "Building wsc native CLI for signing..."
Expand Down Expand Up @@ -141,6 +131,17 @@ jobs:
echo " - Certificate: Short-lived from Fulcio"
echo " - Transparency: Logged in Rekor"

- name: Create SHA256 checksums
run: |
# Create checksums AFTER signing so they match the signed files
sha256sum wsc-component.wasm > wsc-component.wasm.sha256
cat wsc-component.wasm.sha256

if [ -f wsc-cli.wasm ]; then
sha256sum wsc-cli.wasm > wsc-cli.wasm.sha256
cat wsc-cli.wasm.sha256
fi

- name: Log in to Container Registry
uses: docker/login-action@v3
with:
Expand Down
Loading