Skip to content

Commit a57f1df

Browse files
committed
Doesn't look like I can use other envs in envs
1 parent c8ebed1 commit a57f1df

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ on:
2525
env:
2626
RUST_LOG: debug
2727
CARGO_TERM_COLOR: always
28-
V_0_7: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1' || '0' }}
29-
MSRV: ${{ env.V_0_7 == '1' && '1.63.0' || '1.75.0' }}
30-
HACK: hack --package neo4rs --each-feature ${{ env.V_0_7 == '1' && '' || '--exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-streaming-summary' }}
28+
MSRV: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1.63.0' || '1.75.0' }}
29+
HACK: hack --package neo4rs --each-feature ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '' || '--exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-streaming-summary' }}
3130

3231

3332
jobs:

.github/workflows/create-release-pr.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ on:
2020

2121
env:
2222
RUSTUP_TOOLCHAIN: stable
23-
V_0_7: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1' || '0' }}
24-
MSRV: ${{ env.V_0_7 == '1' && '1.63.0' || '1.75.0' }}
23+
MSRV: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1.63.0' || '1.75.0' }}
2524

2625
jobs:
2726
make-release-pr:
@@ -76,4 +75,4 @@ jobs:
7675
version: ${{ inputs.version }}
7776
crate-name: ${{ inputs.crate }}
7877
check-semver: true
79-
base-branch: ${{ env.V_0_7 == '1' && '0.7' || 'main' }}
78+
base-branch: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '0.7' || 'main' }}

0 commit comments

Comments
 (0)