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 933a112
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ source = ["gcp_pilot"]


[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
package = false

0 comments on commit 933a112

Please sign in to comment.