Skip to content

Commit 09dfc7e

Browse files
committed
fix: add env release
1 parent cd6d7bd commit 09dfc7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- release/concordium-rust-sdk/*
1010

1111
env:
12-
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
1312
TAG: ${{ github.ref_name }}
1413

1514
jobs:
@@ -54,6 +53,8 @@ jobs:
5453
5554
# Publish to crates.io
5655
- name: Publish to crates.io
56+
env: release
57+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
5758
run: |
5859
echo "Publishing Concordium Rust SDK to crates.io for version: $TAG_VERSION"
5960
cargo publish --token $CARGO_REGISTRY_TOKEN --locked

0 commit comments

Comments
 (0)