wasm #82
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: wasm | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "master" | |
jobs: | |
wasm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Deno | |
run: curl -fsSL https://deno.land/x/install/install.sh | sh | |
- uses: actions/checkout@v1 | |
- name: Build SQLite | |
id: build | |
run: | | |
export DENO_INSTALL="/home/runner/.deno" | |
export PATH="$DENO_INSTALL/bin:$PATH" | |
sudo apt-get -y install --no-install-recommends tclsh gcc brotli | |
cd build | |
make setup amalgamation release | |
- name: Remove any non tracked build artifacts | |
run: | | |
cd build | |
make clean | |
- uses: stefanzweifel/git-auto-commit-action@v2.5.0 | |
with: | |
commit_message: (GitHub Action) Rebuild SQLite WASM | |
branch: master | |
file_pattern: build/* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |