diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bd175c8..f379fd8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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: diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index f15e607..eeb6be7 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -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: @@ -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' }}