Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed May 24, 2024
1 parent b22dbe6 commit 799dd70
Showing 1 changed file with 8 additions and 32 deletions.
40 changes: 8 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,21 @@
name: Release
on:
push:
branches:
branches:
- main

jobs:
publish_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish
release:
runs-on: ${{ matrix.os }}

publish_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

publish_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
node-version: 14
- name: install dependencies
run: npm install
- name: publish
Expand Down

0 comments on commit 799dd70

Please sign in to comment.