Repository navigation
chore: promote beta-validated toolchain set to stable (+ add tx3-mcp)… #73
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: | |
| branches: | |
| - main | |
| paths: | |
| - 'manifest-*.json' | |
| - 'scripts/**' | |
| - '.github/workflows/release.yml' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Get short commit hash | |
| id: commit_hash | |
| run: echo "hash=sha-${GITHUB_SHA::7}" >> $GITHUB_OUTPUT | |
| - name: Generate manifest tables | |
| id: manifest_tables | |
| run: | | |
| tables=$(scripts/generate-manifest-tables.sh) | |
| echo "tables<<EOF" >> $GITHUB_OUTPUT | |
| echo "$tables" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| tag_name: ${{ steps.commit_hash.outputs.hash }} | |
| name: Release ${{ steps.commit_hash.outputs.hash }} | |
| body: | | |
| This release includes the following toolchain manifests: | |
| ${{ steps.manifest_tables.outputs.tables }} | |
| files: | | |
| manifest-stable.json | |
| manifest-beta.json | |
| manifest-nightly.json | |
| draft: false | |
| prerelease: false |