Skip to content

Commit

Permalink
fix: ci trusted publising
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 17, 2025
1 parent a9463e9 commit 550c9a3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
needs: [detect-version-changed]
if: ${{ !failure() && !cancelled() && needs.detect-version-changed.outputs.release_version == 'true' && needs.detect-version-changed.outputs.is_prerelease_version == 'true' }}
runs-on: ubuntu-22.04
permissions:
# this permission is mandatory for Trusted Publishing
id-token: write
steps:
- name: "Git tag release"
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-truss-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ concurrency:
jobs:
publish-to-pypi:
runs-on: ubuntu-22.04
permissions:
# this permission is mandatory for Trusted Publishing
id-token: write
steps:
- name: "Git tag release"
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
needs: [detect-version-changed]
if: ${{ !failure() && !cancelled() && needs.detect-version-changed.outputs.release_version == 'true' }}
runs-on: ubuntu-22.04
permissions:
# this permission is mandatory for Trusted Publishing
id-token: write
steps:
- name: "Git tag release"
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "truss"
version = "0.9.59rc006"
version = "0.9.59rc007"
description = "A seamless bridge from model development to model delivery"
license = "MIT"
readme = "README.md"
Expand Down

0 comments on commit 550c9a3

Please sign in to comment.