mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-01 15:54:16 +03:00
26 lines
574 B
YAML
26 lines
574 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'package.json'
|
|
|
|
jobs:
|
|
build:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Release
|
|
uses: justincy/github-action-npm-release@2.0.2
|
|
id: release
|
|
with:
|
|
token: ${{ secrets.MY_TOKEN }}
|
|
- name: Print release output
|
|
if: ${{ steps.release.outputs.released == 'true' }}
|
|
run: echo Release ID ${{ steps.release.outputs.release_id }}
|