Skip to content

Commit 0941d4c

Browse files
author
CarrotRub
committed
FIRST OFFICIAL RELEASE
Fixed YML
1 parent fc49125 commit 0941d4c

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,12 @@ jobs:
99
publish-tauri:
1010
permissions:
1111
contents: write
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
include:
16-
- platform: 'macos-latest' # for Arm based macs (M1 and above).
17-
args: '--target aarch64-apple-darwin'
18-
- platform: 'macos-latest' # for Intel based macs.
19-
args: '--target x86_64-apple-darwin'
20-
- platform: 'ubuntu-20.04'
21-
args: ''
22-
- platform: 'windows-latest'
23-
args: ''
2412

25-
runs-on: ${{ matrix.platform }}
13+
runs-on: windows-latest
14+
2615
steps:
2716
- uses: actions/checkout@v4
2817

29-
- name: install dependencies (ubuntu only)
30-
if: matrix.platform == 'ubuntu-20.04' # This must match the platform value defined above.
31-
run: |
32-
sudo apt-get update
33-
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
34-
3518
- name: setup node
3619
uses: actions/setup-node@v4
3720
with:
@@ -40,26 +23,22 @@ jobs:
4023

4124
- name: install Rust stable
4225
uses: dtolnay/rust-toolchain@stable
43-
with:
44-
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
45-
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4626

4727
- name: Rust cache
4828
uses: swatinem/rust-cache@v2
4929
with:
5030
workspaces: './src-tauri -> target'
5131

5232
- name: install frontend dependencies
53-
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
5433
run: npm install # change this to npm or pnpm depending on which one you use.
5534

5635
- uses: tauri-apps/tauri-action@v0
5736
env:
5837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5938
with:
60-
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
39+
tagName: app-v__VERSION__ # the action automatically replaces __VERSION__ with the app version.
6140
releaseName: 'App v__VERSION__'
6241
releaseBody: 'See the assets to download this version and install.'
6342
releaseDraft: true
6443
prerelease: false
65-
args: ${{ matrix.args }}
44+
args: ''

0 commit comments

Comments
 (0)