Skip to content

Commit

Permalink
try array access
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcekay committed Dec 6, 2024
1 parent 031c1ea commit 29572bc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dynrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:
- '*'

jobs:
overwrite:
name: Dynrunner
select:
name: Select dynamic runner
runs-on: ubuntu-latest
env:
LABELS: ${{ toJson(github.event.pull_request.labels.*.name) }}
steps:
- name: Output
run: echo ${{ toJson(github.event.pull_request.labels.*.name) }}
run: echo ${{ fromJSON(env.LABELS)[0] }}

0 comments on commit 29572bc

Please sign in to comment.