Skip to content

Commit

Permalink
Correct workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
richrace committed Jun 23, 2024
1 parent fb09e76 commit 9b14f5e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-latest, ubuntu-latest, windows-latest]
os: [macos-13, macos-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -32,3 +32,20 @@ jobs:
run: npm ci
- name: build
run: npm run make

build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm ci
- name: build
run: npm run make
23 changes: 21 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- released

jobs:
release:
release-macos:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-13, macos-latest, ubuntu-latest, windows-latest]
os: [macos-13, macos-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -35,3 +35,22 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

release:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm ci
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

0 comments on commit 9b14f5e

Please sign in to comment.