This repository was archived by the owner on Jun 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (62 loc) · 2.24 KB
/
Copy pathrelease.yml
File metadata and controls
77 lines (62 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Build and Release Skills
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build:
name: Build Skills (${{ matrix.platform }})
runs-on: ubuntu-latest
strategy:
matrix:
platform: [cursor-antigravity, copilot]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build package
run: |
chmod +x ci/release.sh
./ci/release.sh ${{ matrix.platform }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform }}
path: ${{ matrix.platform }}.zip
retention-days: 1
release:
name: Create Release
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Collect artifacts
run: |
chmod +x ci/collect-artifacts.sh
./ci/collect-artifacts.sh
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: "*.zip"
generate_release_notes: true
body: |
## 📦 Installation
**One-line install:**
```bash
# Linux/macOS - Cursor/Antigravity
curl -L https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/cursor-antigravity.zip -o skills.zip && unzip skills.zip -d .cursor/skills && rm skills.zip
# Windows (PowerShell)
Invoke-WebRequest -Uri "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/cursor-antigravity.zip" -OutFile "skills.zip"; Expand-Archive -Path "skills.zip" -DestinationPath ".cursor\skills" -Force; Remove-Item "skills.zip"
```
**Available packages:**
- `cursor-antigravity.zip` - For Cursor & Antigravity
- `copilot.zip` - For GitHub Copilot
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
draft: false
prerelease: false