Skip to content

Commit

Permalink
ci: update env var that pushes a new release
Browse files Browse the repository at this point in the history
  • Loading branch information
joaodaher committed Dec 9, 2024
1 parent 185a431 commit 2d05019
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install uv
Expand Down Expand Up @@ -41,8 +44,9 @@ jobs:
if: ${{ steps.versioning.outputs.should_release == 'true' }}
run: gh release create ${{ steps.versioning.outputs.package_version }} --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Publish package
if: ${{ steps.versioning.outputs.should_release == 'true' }}
run: |
uv build
uv publish

0 comments on commit 2d05019

Please sign in to comment.