diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d128fa24..5f0d13b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,10 +60,10 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo install --locked --version "0.5.6" cargo-about - - run: RUST_BACKTRACE=1 cargo about generate --workspace --output-file "${{ runner.temp }}/licenses.html" about.hbs + - run: RUST_BACKTRACE=1 cargo about generate --workspace --output-file "$RUNNER_TEMP/licenses.html" about.hbs - id: license_diff run: | - if diff -q THIRD_PARTY_LICENSES_RUST_CRATES.html ${{ runner.temp }}/licenses.html ; then + if diff -q THIRD_PARTY_LICENSES_RUST_CRATES.html $RUNNER_TEMP/licenses.html ; then echo "license_changed=NO" >> $GITHUB_OUTPUT else echo "license_changed=YES" >> $GITHUB_OUTPUT