Skip to content

Commit

Permalink
Create workflow for building
Browse files Browse the repository at this point in the history
Just testing it out :P
  • Loading branch information
realxilliam authored Apr 8, 2024
1 parent 492a656 commit b92ee8d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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

0 comments on commit b92ee8d

Please sign in to comment.