Skip to content

Commit baad55b

Browse files
error
1 parent b07c6c8 commit baad55b

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,20 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
platform: [macos-latest, windows-latest] # Ubuntu-20.04 has been removed
15+
platform: [macos-latest, windows-latest]
1616
runs-on: ${{ matrix.platform }}
1717

1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v3
2121

22-
- name: Install dependencies (ubuntu only)
23-
if: matrix.platform == 'ubuntu-20.04'
24-
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
25-
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
28-
2922
- name: Rust setup
3023
uses: dtolnay/rust-toolchain@stable
3124

3225
- name: Rust cache
3326
uses: swatinem/rust-cache@v2
3427
with:
35-
workspaces: "./src-tauri -> target"
28+
workspaces: "target"
3629

3730
- name: Sync node version and setup cache
3831
uses: actions/setup-node@v3
@@ -46,12 +39,11 @@ jobs:
4639

4740
- name: Build the app
4841
uses: tauri-apps/tauri-action@v0
49-
5042
env:
5143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5244
with:
5345
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
54-
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.
46+
releaseName: "App Name v__VERSION__" # tauri-action replaces __VERSION__ with the app version.
5547
releaseBody: "See the assets to download and install this version."
5648
releaseDraft: true
5749
prerelease: false

0 commit comments

Comments
 (0)