Skip to content

Commit ace0180

Browse files
Update main.yml
1 parent c873ab1 commit ace0180

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

.github/workflows/main.yml

+3-23
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
matrix:
17-
os: [macos-latest, windows-latest]
14+
runs-on: macos-13
1815
steps:
1916
- name: Checkout source code
2017
uses: actions/checkout@v3
@@ -25,28 +22,11 @@ jobs:
2522
distribution: 'zulu'
2623
java-version: '17'
2724

28-
- name: Set up Gradle (Windows)
29-
if: matrix.os == 'windows-latest'
30-
uses: gradle/gradle-build-action@v2
31-
32-
- name: Build the app (macOS)
33-
if: matrix.os == 'macos-latest'
25+
- name: Build the app
3426
run: ./gradlew packageDmg
3527

36-
- name: Build the app (Windows)
37-
if: matrix.os == 'windows-latest'
38-
run: ./gradlew packageMsi
39-
40-
- name: Upload build artifacts (macOS)
41-
if: matrix.os == 'macos-latest'
28+
- name: Upload build artifacts
4229
uses: actions/upload-artifact@v3
4330
with:
4431
name: macos-build
4532
path: /Users/runner/work/AndroidTools/AndroidTools/composeApp/build/compose/binaries/main/dmg
46-
47-
- name: Upload build artifacts (Windows)
48-
if: matrix.os == 'windows-latest'
49-
uses: actions/upload-artifact@v3
50-
with:
51-
name: windows-build
52-
path: /Users/runner/work/AndroidTools/AndroidTools/composeApp/build/

0 commit comments

Comments
 (0)