Skip to content

Commit 98ac2a3

Browse files
committed
ok new env var ci
1 parent 6b81c2d commit 98ac2a3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,9 @@ jobs:
206206
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # tag=v1
207207
with:
208208
command: deb
209-
- run: PKG_VERSION=$(cat Cargo.toml | grep -oP "^version = \"\K[\d.\d.\d]+(?=\")")
209+
- id: pkg_ver
210+
run: echo "ver=$(cat Cargo.toml | grep -oP '^version = \"\K[\d.\d.\d]+(?=\")')" >> $GITHUB_OUTPUT
210211
- uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3
211212
with:
212213
name: linux_x86_64_deb
213-
path: target/debian/teres_${PKG_VERSION}_amd64.deb
214+
path: target/debian/teres_${{ steps.pkg_ver.outputs.ver }}_amd64.deb

0 commit comments

Comments
 (0)