File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*"
7+ workflow_dispatch :
8+ inputs :
9+ version :
10+ description : The version to build
711
812jobs :
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 }}
You can’t perform that action at this time.
0 commit comments