mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2025-12-31 16:00:52 +03:00
Compare commits
3 Commits
v1.0.9
...
v1.0.9-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4122701468 | ||
|
|
1ee9813155 | ||
|
|
a9e4b3a5c6 |
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -6,7 +6,7 @@ on:
|
|||||||
version:
|
version:
|
||||||
description: 'Version number (e.g. 1.0.9)'
|
description: 'Version number (e.g. 1.0.9)'
|
||||||
required: true
|
required: true
|
||||||
default: '1.0.9'
|
default: '1.0.9-dev'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -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
|
||||||
@@ -169,8 +179,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: List files
|
- name: List and prepare files
|
||||||
run: ls -R artifacts/
|
run: |
|
||||||
|
cd artifacts
|
||||||
|
ls -la
|
||||||
|
echo "Current files in artifacts:"
|
||||||
|
find . -type f
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user