Skip to content

Commit 327eec0

Browse files
committed
ci: add macos-14
1 parent a4b6815 commit 327eec0

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/main.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
platform: [ubuntu-20.04]
41-
42-
runs-on: ${{ matrix.platform }}
40+
os: [ubuntu-20.04]
41+
runs-on: ${{ matrix.os }}
4342
steps:
4443
- uses: actions/checkout@v3
4544
- uses: erlef/setup-beam@v1
@@ -52,21 +51,21 @@ jobs:
5251
path: |
5352
deps
5453
_build
55-
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
54+
key: ${{ matrix.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
5655
- name: Restore rust target
5756
uses: actions/cache@v3
5857
with:
5958
path: |
6059
src-tauri/target/release/deps
6160
src-tauri/target/release/build
62-
key: ${{ runner.os }}-cargo-${{ hashFiles(format('{0}{1}', github.workspace, '/src-tauri/Cargo.lock')) }}
61+
key: ${{ matrix.os }}-cargo-${{ hashFiles(format('{0}{1}', github.workspace, '/src-tauri/Cargo.lock')) }}
6362
- run: mix setup
6463
- run: mix assets.deploy
6564
- run: mix release --force --overwrite
6665
- name: install Rust stable
6766
uses: dtolnay/rust-toolchain@stable
6867
- name: install dependencies (ubuntu only)
69-
if: matrix.platform == 'ubuntu-20.04'
68+
if: matrix.os == 'ubuntu-20.04'
7069
run: |
7170
sudo apt-get update
7271
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
@@ -78,7 +77,10 @@ jobs:
7877

7978
macos:
8079
needs: create-release
81-
runs-on: macos-latest
80+
strategy:
81+
matrix:
82+
os: [macos-13, macos-14]
83+
runs-on: ${{ matrix.os }}
8284

8385
steps:
8486
- uses: actions/checkout@v3
@@ -88,14 +90,14 @@ jobs:
8890
path: |
8991
deps
9092
_build
91-
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
93+
key: ${{ matrix.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
9294
- name: Restore rust target
9395
uses: actions/cache@v3
9496
with:
9597
path: |
9698
src-tauri/target/release/deps
9799
src-tauri/target/release/build
98-
key: ${{ runner.os }}-cargo-${{ hashFiles(format('{0}{1}', github.workspace, '/src-tauri/Cargo.lock')) }}
100+
key: ${{ matrix.os }}-cargo-${{ hashFiles(format('{0}{1}', github.workspace, '/src-tauri/Cargo.lock')) }}
99101
- uses: asdf-vm/actions/install@v2
100102
env:
101103
KERL_CONFIGURE_OPTIONS: --disable-dynamic-ssl-lib

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "phx_new_desktop",
11-
"version": "0.0.0"
11+
"version": "0.1.1"
1212
},
1313
"tauri": {
1414
"allowlist": {

0 commit comments

Comments
 (0)