fix: separate release to own action and add rule pattern for tag
This commit is contained in:
parent
2c4fae8d8b
commit
a147d7c243
2 changed files with 15 additions and 4 deletions
4
.github/workflows/bp-devtools-ci.yml
vendored
4
.github/workflows/bp-devtools-ci.yml
vendored
|
|
@ -31,7 +31,3 @@ jobs:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
npx nx run-many --target release --all
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
|
|
|||
15
.github/workflows/release.yml
vendored
Normal file
15
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "ns-paystack-v*.*.*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
Loading…
Add table
Reference in a new issue