Skip to content

Commit

Permalink
Merge pull request #54 from liquibase/bugfix/inputRequirements
Browse files Browse the repository at this point in the history
Bugfix/input requirements
  • Loading branch information
jnewton03 committed Aug 11, 2023
2 parents d886f0d + e01c4f6 commit 3197e84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/os-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ on:
default: '["ubuntu-latest", "windows-latest"]'
type: string

env:
JAVA_INPUT: ${{ github.event.inputs.java || '[8, 11, 17, 18]' }}
OS_INPUT: ${{ github.event.inputs.os || '["ubuntu-latest", "windows-latest"]' }}

jobs:
build:
name: Build & Package
Expand Down Expand Up @@ -59,8 +55,8 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ${{ fromJSON(env.JAVA_INPUT) }}
os: ${{ fromJSON(env.OS_INPUT) }}
java: ${{fromJson(env.INPUT_JAVA)}}
os: ${{fromJson(env.INPUT_OS)}}
name: Test Java ${{ matrix.java }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: build
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/pro-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ env:
AWS_ACCESS_KEY_ID: ${{ secrets.GHA_AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.GHA_AWS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_INPUT: ${{ github.event.inputs.java || '[8, 11, 17, 18]' }}
OS_INPUT: ${{ github.event.inputs.os || '["ubuntu-latest", "windows-latest"]' }}

jobs:
build:
Expand Down Expand Up @@ -77,8 +75,8 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ${{ fromJSON(env.JAVA_INPUT) }}
os: ${{ fromJSON(env.OS_INPUT) }}
java: ${{fromJson(env.INPUT_JAVA)}}
os: ${{fromJson(env.INPUT_OS)}}
name: Test Java ${{ matrix.java }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: build
Expand Down Expand Up @@ -112,4 +110,4 @@ jobs:
sonar-pr:
needs: [ unit-test ]
uses: liquibase/build-logic/.github/workflows/[email protected]
secrets: inherit
secrets: inherit

0 comments on commit 3197e84

Please sign in to comment.