diff --git a/.github/workflows/private-registry.yml b/.github/workflows/private-registry.yml index 02ae466..d9241a6 100644 --- a/.github/workflows/private-registry.yml +++ b/.github/workflows/private-registry.yml @@ -311,7 +311,7 @@ jobs: cd "$workspace/typescript" git init -q npm init -y >/dev/null - npm install "@operatorstack/yield@${VERSION}" --registry=https://get.operatorstack.systems/npm/ + npm install --save-exact "@operatorstack/yield@${VERSION}" --registry=https://get.operatorstack.systems/npm/ npm exec -- yskill --version | grep -F "yskill ${VERSION}" npm exec -- yskill init skill --language typescript --description "Run this workflow when checking the installed TypeScript package." expect_incomplete_starter npm exec -- yskill doctor skill --test @@ -339,9 +339,9 @@ jobs: cd "$workspace/go" git init -q - go install "github.com/operatorstack/yield/cmd/yskill@v${VERSION}" - go_cli="$(go env GOPATH)/bin/yskill" - if [[ "$RUNNER_OS" == "Windows" ]]; then go_cli="${go_cli}.exe"; fi + mkdir -p .yield/bin + GOBIN="$PWD/.yield/bin" go install "github.com/operatorstack/yield/cmd/yskill@v${VERSION}" + if [[ "$RUNNER_OS" == "Windows" ]]; then go_cli=.yield/bin/yskill.exe; else go_cli=.yield/bin/yskill; fi "$go_cli" --version | grep -F "yskill ${VERSION}" "$go_cli" init skill --language go --description "Run this workflow when checking the installed Go package." expect_incomplete_starter "$go_cli" doctor skill --test @@ -354,8 +354,8 @@ jobs: cd "$workspace/rust" git init -q - cargo install "yieldskill@${VERSION}" --index sparse+https://get.operatorstack.systems/cargo/index/ --locked --root .cargo-root - if [[ "$RUNNER_OS" == "Windows" ]]; then rust_cli=.cargo-root/bin/yskill.exe; else rust_cli=.cargo-root/bin/yskill; fi + cargo install "yieldskill@${VERSION}" --index sparse+https://get.operatorstack.systems/cargo/index/ --locked --root .yield + if [[ "$RUNNER_OS" == "Windows" ]]; then rust_cli=.yield/bin/yskill.exe; else rust_cli=.yield/bin/yskill; fi "$rust_cli" --version | grep -F "yskill ${VERSION}" "$rust_cli" init skill --language rust --description "Run this workflow when checking the installed Rust package." expect_incomplete_starter "$rust_cli" doctor skill --test