Create workflow for building #1
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: Tauri builder | |
on: | |
push: | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Install dependencies | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Build | |
- run: npm install tauri | |
- run: npm install | |
- run: npm run tauri build | |
- name: Make new tag | |
- uses: phish108/[email protected] | |
id: tagger | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN}} | |
- name: Make a new release and use the build | |
- uses: svenstaro/[email protected] | |
with: | |
file: /src-tauri/target/release/bundle/msi/* | |
release_name: Nightly Build (v.${{ steps.tagger.outputs.new-tag }}) | |
prerelease: true | |
make_latest: false |