MeshCentral/.github/workflows/release.yml

24 lines
540 B
YAML
Raw Normal View History

2022-07-01 14:32:27 +03:00
name: Release
on:
push:
branches:
- master
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Release
uses: justincy/github-action-npm-release@2.0.2
id: release
2022-07-22 18:24:27 +03:00
with:
token: ${{ secrets.MY_TOKEN }}
2022-07-01 14:32:27 +03:00
- name: Print release output
if: ${{ steps.release.outputs.released == 'true' }}
run: echo Release ID ${{ steps.release.outputs.release_id }}