Skip to content

Commit 97c1018

Browse files
authored
fix: [CI] release on macos x64 (Intel) (#493)
1 parent 32d1bae commit 97c1018

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/create_desktop_builds.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ jobs:
1010
strategy:
1111
matrix:
1212
include:
13-
- os: macos-15 # runner Intel (x64)
13+
- os: macos-15-intel # runner Intel (x64)
1414
arch: x64
15-
jdk_url: "https://corretto.aws/downloads/latest/amazon-corretto-17-x64-macos-jdk.pkg"
1615
- os: macos-latest
1716

1817
steps:
@@ -55,12 +54,12 @@ jobs:
5554
path: FloconDesktop/composeApp/build/compose/binaries/main/dmg/*.dmg
5655

5756
- name: Rename macOS x64 dmg
58-
if: matrix.os == 'macos-15'
57+
if: matrix.os == 'macos-15-intel'
5958
run: |
6059
mv FloconDesktop/composeApp/build/compose/binaries/main/dmg/*.dmg FloconDesktop/composeApp/build/compose/binaries/main/dmg/macos-x64.dmg
6160
6261
- name: Upload macOS x64 artifact
63-
if: matrix.os == 'macos-15'
62+
if: matrix.os == 'macos-15-intel'
6463
uses: actions/upload-artifact@v4
6564
with:
6665
name: macos-x64-dmg

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
include:
13-
- os: macos-15 # runner Intel (x64)
13+
- os: macos-15-intel # runner Intel (x64)
1414
arch: x64
1515
jdk_url: "https://corretto.aws/downloads/latest/amazon-corretto-17-x64-macos-jdk.pkg"
1616
- os: macos-latest
@@ -53,7 +53,7 @@ jobs:
5353
path: FloconDesktop/composeApp/build/compose/binaries/main/deb/*.deb
5454

5555
- name: Rename macOS x64 dmg
56-
if: matrix.os == 'macos-15'
56+
if: matrix.os == 'macos-15-intel'
5757
run: |
5858
mv FloconDesktop/composeApp/build/compose/binaries/main/dmg/*.dmg FloconDesktop/composeApp/build/compose/binaries/main/dmg/macos-x64.dmg
5959
@@ -70,7 +70,7 @@ jobs:
7070
path: FloconDesktop/composeApp/build/compose/binaries/main/dmg/*.dmg
7171

7272
- name: Upload macOS x64 artifact
73-
if: matrix.os == 'macos-15'
73+
if: matrix.os == 'macos-15-intel'
7474
uses: actions/upload-artifact@v4
7575
with:
7676
name: macos-x64-dmg
@@ -98,7 +98,7 @@ jobs:
9898
path: FloconDesktop/composeApp/build/compose/jars/*.jar
9999

100100
- name: Upload macOS x64 Release Jar
101-
if: matrix.os == 'macos-15'
101+
if: matrix.os == 'macos-15-intel'
102102
uses: actions/upload-artifact@v4
103103
with:
104104
name: macos-x64-jar

0 commit comments

Comments
 (0)