Skip to content

Commit

Permalink
Try referencing property of deserialized json object (12)
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Apr 10, 2024
1 parent af35bba commit 04ac970
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,38 +37,10 @@ jobs:
al2-arm: "codebuild-${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large"
outputs:
available-runners: ${{ matrix.use-codebuild && toJSON(matrix.runs-on-names-cb) || toJSON(matrix.runs-on-names) }}
runner-labels: |
{
"windows": "windows-latest",
"macos": "macos-latest",
"ubuntu": "ubuntu-latest",
"al2-intel": "${{ matrix.al2-intel }}",
"al2-arm": "${{ matrix.al2-arm }}"
}
windows: windows-latest
macos: macos-latest
ubuntu: ubuntu-latest
al2-intel: ${{ matrix.al2-intel }}
al2-arm: ${{ matrix.al2-arm }}
env:
codebuild-project-name: ${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}
runner-labels: |
{
"windows": "windows-latest",
"macos": "macos-latest",
"ubuntu": "ubuntu-latest",
"al2-intel": "${{ matrix.al2-intel }}",
"al2-arm": "${{ matrix.al2-arm }}"
}
os: ubuntu
runner-labels: ${{ toJSON(matrix.runner-labels) }}
steps:
- name: Dump Config
run: |
echo '${{ toJSON(matrix) }}'
echo '${{ env.runner-labels }}'
echo '${{ (fromJSON(env.runner-labels)).macos }}'
echo '${{ fromJSON(env.runner-labels)[env.os] }}'
run: echo '${{ toJSON(matrix) }}'

build:
name: Build and Test
Expand Down

0 comments on commit 04ac970

Please sign in to comment.