New goals! #109
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: Publish (Windows) | |
on: [push] | |
jobs: | |
publish-tauri-amd64: | |
permissions: | |
contents: write | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: install Rust nightly | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Install pnpm | |
run: npm i -g pnpm | |
- name: Install frontend dependencies | |
run: pnpm install | |
- uses: benjlevesque/[email protected] | |
id: short-sha | |
with: | |
length: 7 | |
- uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tagName: wormhole-dev-${{ steps.short-sha.outputs.sha }} | |
releaseName: "Wormhole (Dev) ${{ steps.short-sha.outputs.sha }}" | |
releaseBody: | | |
"${{ github.event.head_commit.message }}" | |
See the assets to download this version and install. | |
releaseDraft: false | |
prerelease: true | |
tauriScript: pnpm tauri |