mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-05 15:38:46 +08:00
fix the issue that on of mac build will be overwritten by another
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binary-geekgeekrun-ui-windows-${{ github.sha }}
|
name: binary-geekgeekrun-ui-windows-x64-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/packages/ui/dist/*.exe
|
${{ github.workspace }}/packages/ui/dist/*.exe
|
||||||
overwrite: true
|
overwrite: true
|
||||||
@@ -57,12 +57,14 @@ jobs:
|
|||||||
build_on_macos:
|
build_on_macos:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
platform:
|
||||||
- macos-13 # for x64 build
|
- os: macos-13 # for x64 build
|
||||||
- macos-14 # for arm64 build
|
arch: x64
|
||||||
|
- os: macos-14 # for arm64 build
|
||||||
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
PUPPETEER_SKIP_DOWNLOAD: 'true'
|
PUPPETEER_SKIP_DOWNLOAD: 'true'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
@@ -85,7 +87,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binary-geekgeekrun-ui-macos-${{ github.sha }}
|
name: binary-geekgeekrun-ui-macos-${{ matrix.platform.arch }}-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/packages/ui/dist/*.dmg
|
${{ github.workspace }}/packages/ui/dist/*.dmg
|
||||||
overwrite: true
|
overwrite: true
|
||||||
@@ -116,7 +118,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binary-geekgeekrun-ui-linux-${{ github.sha }}
|
name: binary-geekgeekrun-ui-linux-x64-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/packages/ui/dist/*.deb
|
${{ github.workspace }}/packages/ui/dist/*.deb
|
||||||
${{ github.workspace }}/packages/ui/dist/*.rpm
|
${{ github.workspace }}/packages/ui/dist/*.rpm
|
||||||
|
|||||||
Reference in New Issue
Block a user