Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(release): exclude wasm-test-modules crate #502

Merged
merged 1 commit into from
Mar 5, 2024
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
run: make test-${{ needs.parse.outputs.runtime }}

- name: Sign the binary
if: ${{ needs.parse.outputs.runtime != 'wasm' }}
if: ${{ needs.parse.outputs.runtime != 'wasm' && needs.parse.outputs.runtime != 'wasm-test-modules' }}
run: |
make dist-${{ needs.parse.outputs.runtime }}
# Check if there's any files to archive as tar fails otherwise
Expand All @@ -99,7 +99,7 @@ jobs:
fi

- name: Package artifacts
if: ${{ needs.parse.outputs.runtime != 'wasm' }}
if: ${{ needs.parse.outputs.runtime != 'wasm' && needs.parse.outputs.runtime != 'wasm-test-modules' }}
shell: bash
run: |
# Check if there's any files to archive as tar fails otherwise
Expand All @@ -109,7 +109,7 @@ jobs:
tar -czf dist/containerd-shim-${{ needs.parse.outputs.runtime }}-${{ matrix.arch }}.tar.gz -T /dev/null
fi
- name: Upload artifacts
if: ${{ needs.parse.outputs.runtime != 'wasm' }}
if: ${{ needs.parse.outputs.runtime != 'wasm' && needs.parse.outputs.runtime != 'wasm-test-modules' }}
uses: actions/upload-artifact@master
with:
name: containerd-shim-${{ needs.parse.outputs.runtime }}-${{ matrix.arch }}
Expand All @@ -127,7 +127,7 @@ jobs:
- name: Setup build env
run: ./scripts/setup-linux.sh
- name: Download artifacts
if: ${{ needs.parse.outputs.runtime != 'wasm' }}
if: ${{ needs.parse.outputs.runtime != 'wasm' && needs.parse.outputs.runtime != 'wasm-test-modules' }}
uses: actions/download-artifact@master
with:
path: release
Expand All @@ -138,7 +138,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
RELEASE_NAME: ${{ needs.parse.outputs.crate }}/${{ needs.parse.outputs.version }}
- name: Upload release artifacts
if: ${{ needs.parse.outputs.runtime != 'wasm' }}
if: ${{ needs.parse.outputs.runtime != 'wasm' && needs.parse.outputs.runtime != 'wasm-test-modules' }}
run: |
for i in release/*/*; do
gh release upload ${RELEASE_NAME} $i
Expand Down
Loading