release.yml 699 B

1234567891011121314151617181920212223242526
  1. name: Publish Claude Desktop package
  2. on:
  3. release:
  4. types: [published]
  5. permissions:
  6. contents: write
  7. jobs:
  8. publish:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v4
  12. with:
  13. ref: ${{ github.event.release.tag_name }}
  14. - uses: actions/setup-python@v5
  15. with:
  16. python-version: "3.12"
  17. - name: Build Claude Desktop archive
  18. run: python3 scripts/build-skill-zip.py dist/humanizer-skill.zip
  19. - name: Attach archive to release
  20. env:
  21. GH_TOKEN: ${{ github.token }}
  22. RELEASE_TAG: ${{ github.event.release.tag_name }}
  23. run: gh release upload "$RELEASE_TAG" dist/humanizer-skill.zip --clobber