Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Correct variable used in install tests #1977

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ on:
paths:
- install-from-binstall-release.ps1
- install-from-binstall-release.sh
- .github/workflows/install-script.yml
push:
branches:
- main
paths:
- install-from-binstall-release.ps1
- install-from-binstall-release.sh
- .github/workflows/install-script.yml

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.event.pull_request.number || github.sha }}
Expand Down Expand Up @@ -48,7 +50,7 @@ jobs:
- name: Set `BINSTALL_VERSION`
if: matrix.set_binstall_version != 'no'
env:
STRIP_V: ${{ matrix.set_cargo_home }}
STRIP_V: ${{ matrix.set_binstall_version }}
GH_TOKEN: ${{ github.token }}
run: |
# fetch most recent release tag.
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
shell: bash
env:
GH_TOKEN: ${{ github.token }}
STRIP_V: ${{ matrix.set_cargo_home }}
STRIP_V: ${{ matrix.set_binstall_version }}
run: |
# fetch most recent release name.
BINSTALL_VERSION="$(gh release list --json name --jq '[.[] | select(.name | startswith("v")) | .name] | first')"
Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:
shell: bash
env:
GH_TOKEN: ${{ github.token }}
STRIP_V: ${{ matrix.set_cargo_home }}
STRIP_V: ${{ matrix.set_binstall_version }}
run: |
# fetch most recent release name.
BINSTALL_VERSION="$(gh release list --json name --jq '[.[] | select(.name | startswith("v")) | .name] | first')"
Expand Down
Loading