Skip to content

Commit db73553

Browse files
Bump version to 0.1.7 and fix trusted publishing token passthrough
Pass crates-io-auth-action output token to cargo publish via CARGO_REGISTRY_TOKEN env var. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b44c93e commit db73553

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: dtolnay/rust-toolchain@stable
2020
- uses: Swatinem/rust-cache@v2
21-
- uses: rust-lang/crates-io-auth-action@v1
21+
- name: Authenticate with crates.io
22+
id: crates-io-auth
23+
uses: rust-lang/crates-io-auth-action@v1
2224
- run: cargo publish
25+
env:
26+
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openapi-to-rust"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2024"
55
rust-version = "1.85.0"
66
authors = ["James Lalonde"]

0 commit comments

Comments
 (0)