diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6a3648..a20e05c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,17 +36,13 @@ jobs: with: run-install: false - - name: Semantic Release - id: release - uses: python-semantic-release/python-semantic-release@v10.5.3 - with: - github_token: ${{ steps.app-token.outputs.token }} - git_committer_name: "github-actions" - git_committer_email: "actions@users.noreply.github.com" + - uses: astral-sh/setup-uv@v6 - - name: Publish to GitHub Releases - if: steps.release.outputs.released == 'true' - uses: python-semantic-release/publish-action@v10.5.3 - with: - github_token: ${{ steps.app-token.outputs.token }} - tag: ${{ steps.release.outputs.tag }} + - name: Semantic Release + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + run: | + git config user.name "github-actions" + git config user.email "actions@users.noreply.github.com" + uvx --from="python-semantic-release==10.5.3" semantic-release version || true + uvx --from="python-semantic-release==10.5.3" semantic-release publish diff --git a/pixi.lock b/pixi.lock index 84393b1..23c92e8 100644 --- a/pixi.lock +++ b/pixi.lock @@ -9720,7 +9720,7 @@ packages: - pypi: ./ name: sampleworks version: 0.4.2 - sha256: 309a10e01182d9c211d1731a3d8bcf84d75ba6ecb658d959041074bef9aec7c6 + sha256: 15d4f3834fb7a67d67857100fbbadba502c046c2c8c64c90559e35d789afaa40 requires_dist: - atomworks[ml]==2.1.1 - python-dotenv diff --git a/pyproject.toml b/pyproject.toml index 6d53e3c..4045da0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,6 +148,7 @@ order-by-type = false [tool.semantic_release] allow_zero_version = true +assets = ["pixi.lock"] build_command = "pixi lock" commit_message = "{version}\n\nAutomatically generated by python-semantic-release" commit_parser = "conventional"