From 190274e9676ad0436a40887fda346676a9184fa9 Mon Sep 17 00:00:00 2001 From: Mitchel Baker Date: Wed, 31 Jul 2024 00:20:07 +0000 Subject: [PATCH] didnt add input in macos dependencies action --- .github/actions/setup-dependencies-macos/action.yml | 6 ++++-- .github/workflows/run_smoke_test.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-dependencies-macos/action.yml b/.github/actions/setup-dependencies-macos/action.yml index 1f995089..a824835c 100644 --- a/.github/actions/setup-dependencies-macos/action.yml +++ b/.github/actions/setup-dependencies-macos/action.yml @@ -6,6 +6,8 @@ inputs: opa-version: required: true default: "0.60.0" + credentials: + required: true runs: using: "composite" @@ -38,6 +40,6 @@ runs: # Give OPA executable execute permissions chmod +x opa_darwin_amd64 # Setup credentials for service account - echo $env:GWS_GITHUB_AUTOMATION_CREDS - echo $env:GWS_GITHUB_AUTOMATION_CREDS >> credentials.json + echo ${{ inputs.credentials }} + echo ${{ inputs.credentials }} >> credentials.json cat credentials.json \ No newline at end of file diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index 45891c95..2bb889d1 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -37,7 +37,7 @@ jobs: python-version: ${{ matrix.python-version }} cache-dependency-path: "requirements.txt" - - name: Run ScubaGoggles (Windows) + - name: Setup Dependencies (Windows) if: ${{ matrix.os == 'windows-latest' }} uses: ./.github/actions/setup-dependencies-windows with: @@ -45,7 +45,7 @@ jobs: opa-version: "0.60.0" credentials: $env:GWS_GITHUB_AUTOMATION_CREDS - - name: Run ScubaGoggles (macOS) + - name: Setup Dependencies (macOS) if: ${{ matrix.os == 'macos-latest' }} uses: ./.github/actions/setup-dependencies-macos with: