Skip to content

Commit

Permalink
Doesn't look like I can use other envs in envs
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Jul 31, 2024
1 parent c8ebed1 commit a57f1df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ on:
env:
RUST_LOG: debug
CARGO_TERM_COLOR: always
V_0_7: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1' || '0' }}
MSRV: ${{ env.V_0_7 == '1' && '1.63.0' || '1.75.0' }}
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' }}
MSRV: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1.63.0' || '1.75.0' }}
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' }}


jobs:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ on:

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

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

0 comments on commit a57f1df

Please sign in to comment.