2024-01-08 09:12:07 +01:00
|
|
|
name: "Build MacOS x64"
|
2024-01-08 08:48:10 +01:00
|
|
|
on: workflow_dispatch
|
2024-01-08 08:58:46 +01:00
|
|
|
env:
|
|
|
|
WAVETERM_VERSION: 0.5.3
|
2024-01-08 08:48:10 +01:00
|
|
|
jobs:
|
|
|
|
runbuild:
|
2024-01-08 09:12:07 +01:00
|
|
|
name: "Build MacOS x64"
|
2024-01-08 08:48:10 +01:00
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
go-version: '1.21.5'
|
2024-01-08 09:28:54 +01:00
|
|
|
cache-dependency-path: |
|
|
|
|
wavesrv/go.sum
|
|
|
|
waveshell/go.sum
|
2024-01-08 08:48:10 +01:00
|
|
|
- run: brew tap scripthaus-dev/scripthaus
|
|
|
|
- run: brew install scripthaus
|
2024-01-08 09:12:07 +01:00
|
|
|
- uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
node-version: '21.5.0'
|
|
|
|
cache: 'yarn'
|
2024-01-08 08:48:10 +01:00
|
|
|
- run: yarn --frozen-lockfile
|
|
|
|
- run: scripthaus run build-package
|
2024-01-08 08:58:46 +01:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2024-01-08 09:12:07 +01:00
|
|
|
name: waveterm-build-darwin-x64
|
|
|
|
path: out/make/zip/darwin/x64/*.zip
|
|
|
|
retention-days: 2
|
2024-01-08 08:48:10 +01:00
|
|
|
|
|
|
|
|