Skip to content

Commit cd319dc

Browse files
authored
CI: Fix semver check during publish (#45)
#### Problem The publish job is still failing to parse, likely because I used double quotes instead of single quotes. #### Summary of changes Change double quote to single quote.
1 parent 2f3a5fd commit cd319dc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-rust.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,30 +77,30 @@ jobs:
7777
runs-on: ubuntu-latest
7878
steps:
7979
- name: Git checkout
80-
if: ${{ inputs.package_path != "clients/cli" }}
80+
if: ${{ inputs.package_path != 'clients/cli' }}
8181
uses: actions/checkout@v4
8282

8383
- name: Setup Environment
84-
if: ${{ inputs.package_path != "clients/cli" }}
84+
if: ${{ inputs.package_path != 'clients/cli' }}
8585
uses: ./.github/actions/setup
8686
with:
8787
cargo-cache-key: cargo-publish-semver-${{ inputs.package_path }}
8888
cargo-cache-fallback-key: cargo-publish-semver
8989

9090
- name: Install cargo-semver-checks
91-
if: ${{ inputs.package_path != "clients/cli" }}
91+
if: ${{ inputs.package_path != 'clients/cli' }}
9292
uses: taiki-e/install-action@v2
9393
with:
9494
tool: cargo-semver-checks,cargo-release
9595

9696
- name: Set Git Author (required for cargo-release)
97-
if: ${{ inputs.package_path != "clients/cli" }}
97+
if: ${{ inputs.package_path != 'clients/cli' }}
9898
run: |
9999
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
100100
git config --global user.name "github-actions[bot]"
101101
102102
- name: Set Version
103-
if: ${{ inputs.package_path != "clients/cli" }}
103+
if: ${{ inputs.package_path != 'clients/cli' }}
104104
run: |
105105
if [ "${{ inputs.level }}" == "version" ]; then
106106
LEVEL=${{ inputs.version }}
@@ -110,7 +110,7 @@ jobs:
110110
cargo release $LEVEL --manifest-path "${{ inputs.package_path }}/Cargo.toml" --no-tag --no-publish --no-push --no-confirm --execute
111111
112112
- name: Check semver
113-
if: ${{ inputs.package_path != "clients/cli" }}
113+
if: ${{ inputs.package_path != 'clients/cli' }}
114114
run: pnpm rust:semver --manifest-path "${{ inputs.package_path }}/Cargo.toml"
115115

116116
publish:

0 commit comments

Comments
 (0)