Merge remote-tracking branch 'upstream/main' into chore/update-sqlite… #13
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: Build and upload SQLite3 WASM | |
on: | |
push: | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+-powersync.[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
compile_sqlite3_wasm: | |
strategy: | |
matrix: | |
os: [macos-latest] | |
name: Compile sqlite3 wasm for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build wasm | |
uses: ./.github/actions/build-wasm | |
- name: Upload sqlite3 binary | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
file: sqlite3/.dart_tool/sqlite3_build/sqlite3_opt.wasm | |
asset_name: sqlite3.wasm | |
body: "PowerSync SQLite3 WASM binary" | |
tag: ${{ github.ref_name }} | |
- name: Upload sqlite3 debug binary | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
file: sqlite3/.dart_tool/sqlite3_build/sqlite3_debug.init.wasm | |
asset_name: sqlite3.debug.wasm | |
tag: ${{ github.ref_name }} |