| 1234567891011121314151617181920212223242526 |
- name: Publish Claude Desktop package
- on:
- release:
- types: [published]
- permissions:
- contents: write
- jobs:
- publish:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- with:
- ref: ${{ github.event.release.tag_name }}
- - uses: actions/setup-python@v5
- with:
- python-version: "3.12"
- - name: Build Claude Desktop archive
- run: python3 scripts/build-skill-zip.py dist/humanizer-skill.zip
- - name: Attach archive to release
- env:
- GH_TOKEN: ${{ github.token }}
- RELEASE_TAG: ${{ github.event.release.tag_name }}
- run: gh release upload "$RELEASE_TAG" dist/humanizer-skill.zip --clobber
|