Skip to content

Commit

Permalink
Format action file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed May 15, 2024
1 parent a5ec21c commit f88fb87
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
name: Releases

on:
push:
tags:
- '*'
on:
push:
tags:
- '*'

jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [21.x, 20.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run release
- uses: ncipollo/release-action@v1
with:
artifacts: "release.tar.gz,foo/*.txt"
bodyFile: "body.md"
build:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [21.x, 20.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run release
- uses: ncipollo/release-action@v1
with:
artifacts: 'release.tar.gz,foo/*.txt'
bodyFile: 'body.md'

0 comments on commit f88fb87

Please sign in to comment.