feat: add gear-builtin-actors skill and reference (release 2.3.0) (#20) #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| verify: | |
| name: Verify & Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Run verification suite | |
| run: make verify | |
| - name: Extract version from tag | |
| id: version | |
| run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT" | |
| - name: Verify tag matches marketplace.json | |
| run: | | |
| META_VER=$(python3 -c "import json; print(json.load(open('.claude-plugin/marketplace.json'))['metadata']['version'])") | |
| if [ "$META_VER" != "${{ steps.version.outputs.version }}" ]; then | |
| echo "::error::Tag version (${{ steps.version.outputs.version }}) does not match marketplace.json ($META_VER)" | |
| exit 1 | |
| fi | |
| - name: Verify tag matches VERSION file | |
| run: | | |
| FILE_VER=$(cat VERSION | tr -d '[:space:]') | |
| if [ "$FILE_VER" != "${{ steps.version.outputs.version }}" ]; then | |
| echo "::error::Tag version (${{ steps.version.outputs.version }}) does not match VERSION file ($FILE_VER)" | |
| exit 1 | |
| fi | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: v${{ steps.version.outputs.version }} | |
| generate_release_notes: true | |
| draft: false | |
| prerelease: false |