mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
update macos workflow
This commit is contained in:
parent
3fe8aed8b4
commit
18dca2a89c
16
.github/workflows/macos-nightly.yml
vendored
16
.github/workflows/macos-nightly.yml
vendored
@ -46,8 +46,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build for Intel Mac
|
- name: Build for Intel Mac
|
||||||
run: |
|
run: |
|
||||||
echo "Building for x86_64..."
|
echo "Building for Intel Mac..."
|
||||||
npm run tauri build -- --target x86_64-apple-darwin --bundles dmg
|
npm run tauri build -- --target intel-apple-darwin --bundles dmg
|
||||||
env:
|
env:
|
||||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||||
@ -55,8 +55,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build for Apple Silicon
|
- name: Build for Apple Silicon
|
||||||
run: |
|
run: |
|
||||||
echo "Building for aarch64..."
|
echo "Building for Apple Silicon..."
|
||||||
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg
|
npm run tauri build -- --target apple-silicon-darwin --bundles dmg
|
||||||
env:
|
env:
|
||||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||||
@ -66,13 +66,13 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-intel-build
|
name: macos-intel-build
|
||||||
path: src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg
|
path: src-tauri/target/intel-apple-darwin/release/bundle/dmg/*.dmg
|
||||||
|
|
||||||
- name: Upload Apple Silicon Build
|
- name: Upload Apple Silicon Build
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-apple-silicon-build
|
name: macos-apple-silicon-build
|
||||||
path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg
|
path: src-tauri/target/apple-silicon-darwin/release/bundle/dmg/*.dmg
|
||||||
|
|
||||||
- name: Get version from package.json
|
- name: Get version from package.json
|
||||||
id: version
|
id: version
|
||||||
@ -85,8 +85,8 @@ jobs:
|
|||||||
name: "MacOS Nightly Build v${{ steps.version.outputs.version }}"
|
name: "MacOS Nightly Build v${{ steps.version.outputs.version }}"
|
||||||
tag_name: "macos-nightly-${{ steps.version.outputs.version }}"
|
tag_name: "macos-nightly-${{ steps.version.outputs.version }}"
|
||||||
files: |
|
files: |
|
||||||
src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg
|
src-tauri/target/intel-apple-darwin/release/bundle/dmg/*.dmg
|
||||||
src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg
|
src-tauri/target/apple-silicon-darwin/release/bundle/dmg/*.dmg
|
||||||
prerelease: false
|
prerelease: false
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user