Skip to content

Commit 72bd641

Browse files
committed
update ci
1 parent f3a49c4 commit 72bd641

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
platform: [macos-latest, ubuntu-20.04, windows-latest]
21+
platform: [macos-latest, ubuntu-latest, windows-latest]
2222

2323
runs-on: ${{ matrix.platform }}
2424

@@ -34,7 +34,7 @@ jobs:
3434
version: latest
3535

3636
- name: install dependencies (ubuntu only)
37-
if: matrix.platform == 'ubuntu-20.04'
37+
if: matrix.platform == 'ubuntu-latest'
3838
run: |
3939
sudo apt-get update
4040
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
@@ -67,13 +67,16 @@ jobs:
6767
- name: Install app dependencies and build web
6868
run: pnpm install --frozen-lockfile
6969

70+
- name: submodules install
71+
run: cd it-tools && pnpm install
72+
7073
- name: Build the app
7174
uses: tauri-apps/tauri-action@v0
7275
env:
7376
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7477
with:
7578
tagName: ${{ github.ref_name }}
76-
releaseName: pntools ${{ needs.create-release.outputs.APP_VERSION }}
79+
releaseName: it-tools-app ${{ needs.create-release.outputs.APP_VERSION }}
7780
releaseBody: ''
7881
releaseDraft: false
7982
prerelease: false

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
platform: [macos-latest, ubuntu-20.04, windows-latest]
41+
platform: [macos-latest, ubuntu-latest, windows-latest]
4242

4343
runs-on: ${{ matrix.platform }}
4444

@@ -50,7 +50,7 @@ jobs:
5050
version: latest
5151

5252
- name: install dependencies (ubuntu only)
53-
if: matrix.platform == 'ubuntu-20.04'
53+
if: matrix.platform == 'ubuntu-latest'
5454
run: |
5555
sudo apt-get update
5656
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
@@ -78,13 +78,16 @@ jobs:
7878
- name: Install app dependencies and build web
7979
run: pnpm install --frozen-lockfile
8080

81+
- name: submodules install
82+
run: cd it-tools && pnpm install
83+
8184
- name: Build the app
8285
uses: tauri-apps/tauri-action@v0
8386
env:
8487
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8588
with:
8689
tagName: ${{ github.ref_name }}
87-
releaseName: pntools ${{ needs.create-release.outputs.APP_VERSION }}
90+
releaseName: it-tools-app ${{ needs.create-release.outputs.APP_VERSION }}
8891
releaseBody: ""
8992
releaseDraft: true
9093
prerelease: false

0 commit comments

Comments
 (0)