Skip to content

Commit

Permalink
didnt add input in macos dependencies action
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelbaker-cisa committed Jul 31, 2024
1 parent 7d41b60 commit 190274e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/actions/setup-dependencies-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ inputs:
opa-version:
required: true
default: "0.60.0"
credentials:
required: true

runs:
using: "composite"
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/run_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ 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:
operating-system: "windows"
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:
Expand Down

0 comments on commit 190274e

Please sign in to comment.