Skip to content

Commit 73f1fff

Browse files
authored
Add workflow to build & release
1 parent bec4c43 commit 73f1fff

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/images/Map-Genie-PRO.png

1.23 MB
Loading

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release Windows App
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
release:
10+
runs-on: windows-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Install Bun
14+
uses: oven-sh/setup-bun@v2
15+
with:
16+
bun-version: latest
17+
- name: Install Rust
18+
uses: dtolnay/rust-toolchain@stable
19+
- name: Install Dependencies
20+
run: |
21+
git submodule update --init --recursive
22+
bun i
23+
- name: Build and Release Tauri
24+
uses: tauri-apps/tauri-action@v0
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
projectPath: ${{ github.workspace }}/src-tauri
29+
tagName: ${{ github.ref_name }}
30+
releaseName: "Release ${{ github.ref_name }}"
31+
releaseBody: "Windows-only Tauri app with Bun."
32+
releaseDraft: true
33+
targets: 'exe'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Welcome to **Game Maps**, an interactive tool for gamers to explore detailed map
1010
- **Sync Progress**: Seamlessly sync saved locations with Map Genie’s website.
1111
- **User-Friendly Design**: Intuitive interface designed with gamers in mind.
1212

13+
![Map Genie PRO](./.github/images/Map-Genie-PRO.png "Map Genie PRO on Windows")
14+
1315
## Installation
1416

1517
### Windows

0 commit comments

Comments
 (0)