Przeglądaj źródła

Let's get a macOS Bundle out.

Dominique Louis 4 tygodni temu
rodzic
commit
a556206cb2
1 zmienionych plików z 6 dodań i 12 usunięć
  1. 6 12
      .github/workflows/build-samples.yml

+ 6 - 12
.github/workflows/build-samples.yml

@@ -143,14 +143,16 @@ jobs:
               -rids win-x64,linux-x64,osx-x64,osx-arm64 \
               -i "$INFO_PLIST" \
               -c "$ICNS_FILE" \
-              -v
+              -v \
+              --macos-universal
           else
             echo "No .icns file found, packaging without custom icon"
             monopack -p "$PROJ" \
               -o "$ARTIFACTS_DIR" \
               -rids win-x64,linux-x64,osx-x64,osx-arm64 \
               -i "$INFO_PLIST" \
-              -v
+              -v \
+              --macos-universal
           fi
 
           echo "Generated artifacts:"
@@ -174,19 +176,11 @@ jobs:
           if-no-files-found: error
           retention-days: 14
 
-      - name: Upload macOS Intel Bundle
+      - name: Upload macOS App Bundle
         uses: actions/upload-artifact@v4
         with:
           name: ${{ steps.package.outputs.name }}-macOS-Intel
-          path: artifacts/${{ steps.package.outputs.name }}/*-osx-x64.tar.gz
-          if-no-files-found: error
-          retention-days: 14
-
-      - name: Upload macOS Apple Silicon Bundle
-        uses: actions/upload-artifact@v4
-        with:
-          name: ${{ steps.package.outputs.name }}-macOS-AppleSilicon
-          path: artifacts/${{ steps.package.outputs.name }}/*-osx-arm64.tar.gz
+          path: artifacts/${{ steps.package.outputs.name }}/*-universal.tar.gz
           if-no-files-found: error
           retention-days: 14