mirror of https://github.com/nodejs/corepack.git
chore(ci): fix `Version Sync` workflow (#149)
GHA uses OpenSSL 3.x, not 1.1.1, so the output was different on my machine. Refs: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2204-Readme.md
This commit is contained in:
parent
f0a303bc88
commit
c70c049205
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
||||||
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
||||||
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest + "+sha1." + .versions[.["dist-tags"].latest].dist.shasum')
|
||||||
LATEST_BERRY=$(jq -n '$version + "+sha224." + $checksum' --arg version "$LATEST_BERRY_VERSION" --arg checksum "$(curl https://repo.yarnpkg.com/"$LATEST_BERRY_VERSION"/packages/yarnpkg-cli/bin/yarn.js | openssl dgst -sha224 | cut -d' ' -f1)")
|
LATEST_BERRY=$(jq -n '$version + "+sha224." + $checksum' --arg version "$LATEST_BERRY_VERSION" --arg checksum "$(curl https://repo.yarnpkg.com/"$LATEST_BERRY_VERSION"/packages/yarnpkg-cli/bin/yarn.js | openssl dgst -sha224 | cut -d' ' -f2)")
|
||||||
|
|
||||||
git --no-pager show HEAD:config.json | jq '. * '"{
|
git --no-pager show HEAD:config.json | jq '. * '"{
|
||||||
definitions: {
|
definitions: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue