fix: fix ci

This commit is contained in:
JustSong 2024-03-14 23:27:47 +08:00
parent b169173860
commit 8ede66a896
6 changed files with 39 additions and 6 deletions

View File

@ -4,7 +4,6 @@ on:
push:
tags:
- '*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -21,6 +20,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- name: Save version info
run: |
git describe --tags > VERSION

View File

@ -4,7 +4,6 @@ on:
push:
tags:
- '*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -21,6 +20,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- name: Save version info
run: |
git describe --tags > VERSION

View File

@ -5,7 +5,6 @@ on:
tags:
- '*'
- '!*-alpha*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -22,6 +21,13 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- name: Save version info
run: |
git describe --tags > VERSION

View File

@ -7,7 +7,6 @@ on:
tags:
- '*'
- '!*-alpha*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -21,6 +20,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- uses: actions/setup-node@v3
with:
node-version: 16

View File

@ -7,7 +7,6 @@ on:
tags:
- '*'
- '!*-alpha*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -21,6 +20,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- uses: actions/setup-node@v3
with:
node-version: 16

View File

@ -7,7 +7,6 @@ on:
tags:
- '*'
- '!*-alpha*'
- '!*-pro*'
workflow_dispatch:
inputs:
name:
@ -24,6 +23,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check repository URL
run: |
REPO_URL=$(git config --get remote.origin.url)
if [[ $REPO_URL == *"pro" ]]; then
exit 1
fi
- uses: actions/setup-node@v3
with:
node-version: 16