Bump medyagh/setup-minikube from 57fe117a5d63e78704ca0a3e6bf9704946965e96 to 64d97a2c38f2f9fd1d891d949f6068eac2330c4a #1190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install Script Integration Test | |
on: | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
install: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run Install Script | |
shell: bash | |
run: ./scripts/install.sh | |
- name: Validate Command is Installed | |
shell: bash | |
run: | | |
if command -v /home/runner/.local/bin/bridgetokubernetes/dsc &> /dev/null | |
then | |
echo "install_dir=/home/runner/.local/bin/bridgetokubernetes/dsc" >> $GITHUB_ENV | |
elif command -v /usr/local/bin/bridgetokubernetes/dsc &> /dev/null | |
then | |
echo "install_dir=/usr/local/bin/bridgetokubernetes/dsc" >> $GITHUB_ENV | |
elif command -v /c/Users/runneradmin/.local/bin/bridgetokubernetes/dsc &> /dev/null | |
then | |
echo "install_dir=/c/Users/runneradmin/.local/bin/bridgetokubernetes/dsc" >> $GITHUB_ENV | |
else | |
echo "B2k CLI is not found" | |
exit 1 | |
fi | |
- name: Validate B2k Command Runs | |
shell: bash | |
run: ${{ env.install_dir }} connect --help | |