Skip to content

Commit

Permalink
Try referencing property of deserialized json object (10)
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Apr 10, 2024
1 parent 7157f66 commit 24251df
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ jobs:
codebuild-project-name: ${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}
runs-on-names-cb: [ windows, macos, ubuntu, al2-intel, al2-arm ]
runs-on-names: [ windows, macos, ubuntu ]
al2-intel: "codebuild-${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}-${{ github.run_id }}-${{ github.run_attempt }}-al2-5.0-large"
al2-arm: "codebuild-${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large"
runner-labels:
windows: windows-latest
ubuntu: ubuntu-latest
macos: macos-latest
al2-intel: "codebuild-${{ vars.CODEBUILD_PROJECT_NAME != '' && vars.CODEBUILD_PROJECT_NAME || 'ion-rust' }}-${{ github.run_id }}-${{ github.run_attempt }}-al2-5.0-large"
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: ${{ env.runner-labels }}
Expand All @@ -57,8 +61,7 @@ jobs:
echo '${{ env.runner-labels }}'
echo '${{ (fromJSON(env.runner-labels)).macos }}'
echo '${{ fromJSON(env.runner-labels)['windows'] }}'
echo '${{ fromJSON(env.runner-labels).${{ env.os }} }}'
echo '${{ fromJSON(env.runner-labels)[env.os] }}'
build:
name: Build and Test
Expand Down

0 comments on commit 24251df

Please sign in to comment.