mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
run both mac builds
This commit is contained in:
parent
631a0867aa
commit
0bb80b6a74
32
.github/workflows/build-macos-x64.yml
vendored
32
.github/workflows/build-macos-x64.yml
vendored
@ -2,15 +2,17 @@ name: "Build MacOS x64"
|
|||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
env:
|
env:
|
||||||
WAVETERM_VERSION: 0.5.3
|
WAVETERM_VERSION: 0.5.3
|
||||||
|
GO_VERSION: '1.21.5'
|
||||||
|
NODE_VERSION: '21.5.0'
|
||||||
jobs:
|
jobs:
|
||||||
runbuild:
|
runbuild-x64:
|
||||||
name: "Build MacOS x64"
|
name: "Build MacOS x64"
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.21.5'
|
go-version: ${{env.GO_VERSION}}
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
wavesrv/go.sum
|
wavesrv/go.sum
|
||||||
waveshell/go.sum
|
waveshell/go.sum
|
||||||
@ -18,7 +20,7 @@ jobs:
|
|||||||
- run: brew install scripthaus
|
- run: brew install scripthaus
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '21.5.0'
|
node-version: ${{env.NODE_VERSION}}
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn --frozen-lockfile
|
- run: yarn --frozen-lockfile
|
||||||
- run: scripthaus run build-package
|
- run: scripthaus run build-package
|
||||||
@ -27,5 +29,29 @@ jobs:
|
|||||||
name: waveterm-build-darwin-x64
|
name: waveterm-build-darwin-x64
|
||||||
path: out/make/zip/darwin/x64/*.zip
|
path: out/make/zip/darwin/x64/*.zip
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
runbuild-arm64:
|
||||||
|
name: "Build MacOS arm64"
|
||||||
|
runs-on: macos-latest-xlarge
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: ${{env.GO_VERSION}}
|
||||||
|
cache-dependency-path: |
|
||||||
|
wavesrv/go.sum
|
||||||
|
waveshell/go.sum
|
||||||
|
- run: brew tap scripthaus-dev/scripthaus
|
||||||
|
- run: brew install scripthaus
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{env.NODE_VERSION}}
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: yarn --frozen-lockfile
|
||||||
|
- run: scripthaus run build-package
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: waveterm-build-darwin-arm64
|
||||||
|
path: out/make/zip/darwin/arm64/*.zip
|
||||||
|
retention-days: 2
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user