chore: commit changes I forgot before running 'make cicd' #47
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: 'Publish GitHub Release' | |
| on: | |
| push: | |
| tags: | |
| - '*.*.*' | |
| permissions: | |
| # All other scopes not listed are set to 'none' by default | |
| contents: "read" | |
| issues: "read" # Grants read permission for issues | |
| jobs: | |
| build-release: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.0 | |
| - uses: "astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867" # v7.1.6 | |
| with: | |
| enable-cache: true | |
| prune-cache: false | |
| - uses: "actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548" # v6.1.0 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - run: "echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV" | |
| - run: "uv build" | |
| - uses: "actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f" # v5.0.0 | |
| with: | |
| path: "./dist" | |
| create-release: | |
| needs: | |
| - "build-release" | |
| runs-on: "ubuntu-latest" | |
| permissions: | |
| contents: "write" | |
| steps: | |
| - uses: "actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131" # v7.0.0 | |
| with: | |
| path: "artifact" # Create an artifact/ directory | |
| - name: "create release" | |
| run: "gh release create --generate-notes --repo ${{ github.repository }} ${{ github.ref_name }} artifact/*" | |
| env: | |
| GH_TOKEN: "${{ github.token }}" |