File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
overwrite-package-version Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 35
35
36
36
- name : Get and update version
37
37
shell : bash
38
+ env :
39
+ TIMESTAMP : ${{ inputs.timestamp }}
38
40
run : |
39
41
CURRENT_VERSION=$(python -c "import toml; print(toml.load('bindings/python/pyproject.toml')['project']['version'])")
40
- NEW_VERSION="${CURRENT_VERSION}.dev${{ inputs.timestamp } }"
42
+ NEW_VERSION="${CURRENT_VERSION}.dev${TIMESTAMP }"
41
43
NEW_VERSION=$NEW_VERSION python -c "
42
44
import toml
43
45
import os
Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ runs:
28
28
- name : Setup specified Rust toolchain
29
29
shell : bash
30
30
if : ${{ inputs.rust-version != '' }}
31
+ env :
32
+ RUST_VERSION : ${{ inputs.rust-version }}
31
33
run : |
32
- echo "Installing ${{ inputs.rust-version } }"
33
- rustup toolchain install ${{ inputs.rust-version } }
34
- rustup override set ${{ inputs.rust-version } }
34
+ echo "Installing ${RUST_VERSION }"
35
+ rustup toolchain install ${RUST_VERSION }
36
+ rustup override set ${RUST_VERSION }
35
37
rustup component add rustfmt clippy
36
38
- name : Setup Rust toolchain according to rust-toolchain.toml
37
39
shell : bash
You can’t perform that action at this time.
0 commit comments