mirror of
https://github.com/unraid/api.git
synced 2026-01-09 01:59:57 -06:00
check for tag before running release job
Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -42,6 +42,10 @@ jobs:
|
||||
node-version: [10.x]
|
||||
|
||||
steps:
|
||||
- name: Check if tag
|
||||
run: |
|
||||
# Bail if this push doesn't include a tag
|
||||
[[ "$GITHUB_REF" != refs/tags/* ]] && echo "${GITHUB_REF} is not a tag, exiting..." && exit 78
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
|
||||
Reference in New Issue
Block a user