Skip to content

Commit 5ef6828

Browse files
authored
Merge pull request #49 from typesense/use-token-from-auth-step
chore: use token for auth step
2 parents 33fbd24 + 98b6596 commit 5ef6828

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,17 @@ jobs:
1616
- name: Publish typesense_derive
1717
run: cargo publish
1818
working-directory: typesense_derive
19-
19+
env:
20+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
21+
2022
- name: Publish typesense_codegen
2123
run: cargo publish
2224
working-directory: typesense_codegen
23-
25+
env:
26+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
27+
2428
- name: Publish typesense
2529
run: cargo publish
2630
working-directory: typesense
31+
env:
32+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

0 commit comments

Comments
 (0)