mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-02 20:47:35 +08:00
test2
This commit is contained in:
parent
1ee9813155
commit
4122701468
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -18,10 +18,20 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # 获取所有标签
|
||||||
|
|
||||||
|
- name: Delete existing tag if exists
|
||||||
|
run: |
|
||||||
|
if git ls-remote --tags origin | grep -q "refs/tags/v${{ github.event.inputs.version }}"; then
|
||||||
|
git push origin --delete "v${{ github.event.inputs.version }}" || true
|
||||||
|
git tag -d "v${{ github.event.inputs.version }}" || true
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
run: |
|
run: |
|
||||||
git tag v${{ github.event.inputs.version }}
|
git tag "v${{ github.event.inputs.version }}"
|
||||||
git push origin v${{ github.event.inputs.version }}
|
git push origin "v${{ github.event.inputs.version }}"
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
needs: create-tag
|
needs: create-tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user