|
12 | 12 | strategy: |
13 | 13 | fail-fast: false |
14 | 14 | matrix: |
15 | | - platform: [macos-latest, macos-latest-arm64, ubuntu-latest, windows-latest] |
| 15 | + platform: [macos-latest, ubuntu-latest, windows-latest] |
16 | 16 |
|
17 | 17 | runs-on: ${{ matrix.platform }} |
18 | 18 |
|
|
56 | 56 | run: dotnet publish -c Release -r osx-x64 --self-contained true -p:PublishTrimmed=True -p:TrimMode=Full -p:PublishAot=true -p:AssemblyName=ScumBag |
57 | 57 |
|
58 | 58 | - name: Build Mac arm64 Release |
59 | | - if: matrix.platform == 'macos-latest-arm64' |
| 59 | + if: matrix.platform == 'macos-latest' |
60 | 60 | run: dotnet publish -c Release -r osx-arm64 --self-contained true -p:PublishTrimmed=True -p:TrimMode=Full -p:PublishAot=true -p:AssemblyName=ScumBag |
61 | 61 |
|
62 | 62 | # Windows: Create artifact with specific files |
@@ -124,15 +124,15 @@ jobs: |
124 | 124 |
|
125 | 125 | # macOS arm64: Create artifact with specific files |
126 | 126 | - name: Prepare macOS arm64 Artifacts |
127 | | - if: matrix.platform == 'macos-latest-arm64' |
| 127 | + if: matrix.platform == 'macos-latest' |
128 | 128 | run: | |
129 | 129 | mkdir artifact |
130 | 130 | cp "./bin/Release/net8.0/osx-arm64/publish/ScumBag" artifact/ |
131 | 131 | cp ./bin/Release/net8.0/osx-arm64/publish/libwebview.dylib artifact/ || cp ./bin/Release/net8.0/osx-arm64/publish/webview.dylib artifact/ || true |
132 | 132 | cp ./bin/Release/net8.0/osx-arm64/publish/libnfd.dylib artifact/ || cp ./bin/Release/net8.0/osx-arm64/publish/nfd.dylib artifact/ || true |
133 | 133 |
|
134 | 134 | - name: Archive macOS Artifacts |
135 | | - if: matrix.platform == 'macos-latest-arm64' |
| 135 | + if: matrix.platform == 'macos-latest' |
136 | 136 | uses: actions/upload-artifact@v4 |
137 | 137 | with: |
138 | 138 | name: Scum_Bag_osx-arm64 |
|
0 commit comments