Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动Latest-build #115

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/Latest-build-xlarge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners

name: Latest Build (ARM)

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- run: SKIP_YARN_COREPACK_CHECK=0 npm run install:ci

- run: npm run build:ci

- name: Upload 48tools-win-arm64
uses: actions/upload-artifact@v4
with:
name: 48tools-win-arm64
path: |
build/win-arm64/*.zip

- name: Upload 48tools-mac-arm64
uses: actions/upload-artifact@v4
with:
name: 48tools-mac-arm64
path: |
build/mac-arm64/*.zip
54 changes: 54 additions & 0 deletions .github/workflows/Latest-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Latest Build (Intel)

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: macos-13
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- run: SKIP_YARN_COREPACK_CHECK=0 npm run install:ci

- run: npm run build:ci

- name: Upload 48tools-win
uses: actions/upload-artifact@v4
with:
name: 48tools-win
path: |
build/win/*.zip

- name: Upload 48tools-win32
uses: actions/upload-artifact@v4
with:
name: 48tools-win32
path: |
build/win32/*.zip

- name: Upload 48tools-linux
uses: actions/upload-artifact@v4
with:
name: 48tools-linux
path: |
build/linux/*.zip

- name: Upload 48tools-mac
uses: actions/upload-artifact@v4
with:
name: 48tools-mac
path: |
build/mac/*.zip