v0.2.11 #45
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: Generate Release JSON | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish-release: | |
| runs-on: ubuntu-latest | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup just cli | |
| uses: extractions/setup-just@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "^3.13" | |
| - name: Install python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install requests | |
| - name: Generate and upload release.json | |
| id: generate | |
| shell: bash | |
| run: just generate-release-json ${{ github.event.release.tag_name }} yes |