Merge pull request #75 from OptimNow/claude/codex-followup-8 #6
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 skill zip | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build zip of cloud-finops skill folder | |
| run: | | |
| VERSION="${GITHUB_REF_NAME}" | |
| ZIP_NAME="cloud-finops-${VERSION}.zip" | |
| cd "${GITHUB_WORKSPACE}" | |
| # Exclude local-only directories that may exist in worktrees | |
| # (e.g. .claude/settings.local.json from Claude Code worktrees) | |
| zip -r "${ZIP_NAME}" cloud-finops \ | |
| -x 'cloud-finops/.claude/*' \ | |
| -x 'cloud-finops/**/.backups/*' \ | |
| -x 'cloud-finops/.git/*' | |
| ls -lh "${ZIP_NAME}" | |
| unzip -l "${ZIP_NAME}" | head -5 # log the first few entries to verify forward-slash paths | |
| echo "ZIP_NAME=${ZIP_NAME}" >> "$GITHUB_ENV" | |
| - name: Create GitHub Release with zip attached | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: ${{ github.ref_name }} | |
| tag_name: ${{ github.ref_name }} | |
| files: ${{ env.ZIP_NAME }} | |
| generate_release_notes: true | |
| body: | | |
| ## Cloud FinOps Skill ${{ github.ref_name }} | |
| The attached `cloud-finops-${{ github.ref_name }}.zip` is the skill bundle for upload into Claude Desktop / claude.ai (Settings → Skills → Upload). | |
| For Claude Code users (and 10 other tools), see [INSTALLATION.md](https://github.com/OptimNow/cloud-finops-skills/blob/main/INSTALLATION.md) for the cross-tool installer and the model-agnostic response contract. |