Skip to content

Commit a1986d2

Browse files
committed
ci: properly invoke nox via uv
1 parent 4502c2e commit a1986d2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
tags:
66
- "v*"
7+
workflow_dispatch:
8+
inputs:
9+
version:
10+
description: The version to build
711

812
jobs:
913
release:
@@ -13,14 +17,18 @@ jobs:
1317
runs-on: ubuntu-latest
1418
environment: release
1519
steps:
16-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
with:
22+
# The tag to build or the tag received by the tag event
23+
ref: ${{ github.event.inputs.version || github.ref }}
24+
persist-credentials: false
1725

1826
- uses: astral-sh/setup-uv@v6
1927

2028
- uses: rust-lang/crates-io-auth-action@v1
2129
id: auth
2230

2331
- name: Publish to crates.io
24-
run: nox -s publish
32+
run: uvx nox -s publish
2533
env:
2634
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)