fix: pr and test #1
Workflow file for this run
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
name: test | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
artifact: | |
permissions: | |
contents: write | |
pull-requests: write | |
name: artifact | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup update 1.72 | |
sudo apt-get install -y rename | |
make install | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build wasm | |
run: make ci-build | |
- name: Pull request artifacts | |
uses: gavv/pull-request-artifacts@v2 | |
with: | |
commit: ${{ github.event.pull_request.head.sha }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
artifacts-branch: artifacts | |
artifacts: | | |
wasm_codes.zip |