Skip to content

Commit 1a4e33f

Browse files
committed
update workflow
1 parent 8dba076 commit 1a4e33f

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,16 @@ jobs:
3636
- name: install dependencies (ubuntu only)
3737
if: matrix.platform == 'ubuntu-22.04'
3838
run: |
39-
sudo apt-get update
40-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
39+
sudo apt update
40+
sudo apt install libwebkit2gtk-4.1-dev \
41+
build-essential \
42+
curl \
43+
wget \
44+
file \
45+
libxdo-dev \
46+
libssl-dev \
47+
libayatana-appindicator3-dev \
48+
librsvg2-dev
4149
4250
- name: Update macos-latest
4351
if: matrix.platform == 'macos-latest'
@@ -56,19 +64,19 @@ jobs:
5664
- name: Rust cache
5765
uses: swatinem/rust-cache@v2
5866
with:
59-
workspaces: './src-tauri -> target'
67+
workspaces: "./src-tauri -> target"
6068

6169
- name: Sync node version and setup cache
6270
uses: actions/setup-node@v3
6371
with:
64-
node-version: '18'
65-
cache: 'pnpm'
72+
node-version: "18"
73+
cache: "pnpm"
6674

6775
- name: Install app dependencies and build web
6876
run: pnpm install --frozen-lockfile
6977

7078
- name: submodules install
71-
run: cd it-tools && pnpm install
79+
run: cd it-tools && pnpm install
7280

7381
- name: Build the app
7482
uses: tauri-apps/tauri-action@v0
@@ -77,6 +85,6 @@ jobs:
7785
with:
7886
tagName: ${{ github.ref_name }}
7987
releaseName: it-tools-app ${{ needs.create-release.outputs.APP_VERSION }}
80-
releaseBody: ''
88+
releaseBody: ""
8189
releaseDraft: false
8290
prerelease: false

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,16 @@ jobs:
5252
- name: install dependencies (ubuntu only)
5353
if: matrix.platform == 'ubuntu-22.04'
5454
run: |
55-
sudo apt-get update
56-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
55+
sudo apt update
56+
sudo apt install libwebkit2gtk-4.1-dev \
57+
build-essential \
58+
curl \
59+
wget \
60+
file \
61+
libxdo-dev \
62+
libssl-dev \
63+
libayatana-appindicator3-dev \
64+
librsvg2-dev
5765
5866
- name: install dependencies (mac only)
5967
if: matrix.platform == 'macos-latest'
@@ -79,7 +87,7 @@ jobs:
7987
run: pnpm install --frozen-lockfile
8088

8189
- name: submodules install
82-
run: cd it-tools && pnpm install
90+
run: cd it-tools && pnpm install
8391

8492
- name: Build the app
8593
uses: tauri-apps/tauri-action@v0

0 commit comments

Comments
 (0)