2022-07-01 07:32:27 -04:00
|
|
|
name: Release
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2023-10-24 09:53:27 -04:00
|
|
|
paths:
|
|
|
|
- 'package.json'
|
2022-07-01 07:32:27 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-01-21 15:49:31 -05:00
|
|
|
uses: actions/checkout@v4
|
2022-07-01 07:32:27 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Release
|
|
|
|
uses: justincy/github-action-npm-release@2.0.2
|
|
|
|
id: release
|
2022-07-22 11:24:27 -04:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.MY_TOKEN }}
|
2022-07-01 07:32:27 -04:00
|
|
|
- name: Print release output
|
|
|
|
if: ${{ steps.release.outputs.released == 'true' }}
|
|
|
|
run: echo Release ID ${{ steps.release.outputs.release_id }}
|