mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix
This commit is contained in:
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
@@ -11,14 +11,11 @@ jobs:
|
||||
check-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone
|
||||
run: |
|
||||
GITHUB_URL=https://oauth:${{ secrets.NAPCAT_BUILD }}@github.com//NapNeko/NapCatQQ
|
||||
git clone --recurse-submodules ${GITHUB_URL} NapCatQQ
|
||||
git config --global init.defaultBranch main
|
||||
git config --global user.name "CheckVersion"
|
||||
git config --global user.email "bot@noreply.github.com"
|
||||
|
||||
- name: Clone Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Extract version from tag
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||
@@ -28,14 +25,11 @@ jobs:
|
||||
with:
|
||||
node-version: 20.x
|
||||
|
||||
- name: Clone Check Version
|
||||
- name: Check Version
|
||||
run: |
|
||||
cd ./NapCatQQ
|
||||
node ./script/checkVersion.cjs
|
||||
sh ./checkVersion.cjs
|
||||
cd ..
|
||||
|
||||
|
||||
ls
|
||||
node ./script/checkVersion.cjs
|
||||
sh ./checkVersion.sh
|
||||
build-linux:
|
||||
needs: [check-version]
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user