mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 15:45:53 -05:00
Merge pull request #4205 from si458/release-action
create new release on every new version
This commit is contained in:
commit
a3bcb3fcac
21
.github/workflows/release.yml
vendored
Normal file
21
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
||||
- name: Print release output
|
||||
if: ${{ steps.release.outputs.released == 'true' }}
|
||||
run: echo Release ID ${{ steps.release.outputs.release_id }}
|
Loading…
Reference in New Issue
Block a user