Skip to content

Commit 712e396

Browse files
fkiriakos07emilio
authored andcommitted
use env to pass output parameters
1 parent 76f41c0 commit 712e396

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/cbindgen.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ jobs:
3737
uses: dtolnay/rust-toolchain@1.74
3838

3939
- name: Build with minimum supported Rust version
40+
env:
41+
NAME: ${{steps.msrv.outputs.name}}
4042
run: |
41-
cargo +${{steps.msrv.outputs.name}} test nonexistent-test --verbose
43+
cargo +$NAME test nonexistent-test --verbose
4244
4345
build:
4446
runs-on: ubuntu-24.04

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ jobs:
5858
sed '$ d' | awk '{$1=$1};1' > CHANGES.txt
5959
6060
- name: Create a release
61+
env:
62+
TAG: ${{ steps.tagName.outputs.version }}
6163
run: |
62-
TAG=${{ steps.tagName.outputs.version }}
6364
cp target/release/cbindgen cbindgen-ubuntu22.04
6465
cp target/aarch64-unknown-linux-gnu/release/cbindgen cbindgen-ubuntu22.04-aarch64
6566
gh release create ${TAG} --title "${TAG}" --notes-file "CHANGES.txt" --draft cbindgen-ubuntu22.04 cbindgen-ubuntu22.04-aarch64

0 commit comments

Comments
 (0)