-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'git-commit-push-action-6230319233-ubuntu-full-remote' i…
…nto ubuntu
- Loading branch information
Showing
5 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: 67 - FromJSON env var | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
myjson: '{"foo1" : "bar1", "foo2": "bar2"}' | ||
var_foo: 'foo2' | ||
|
||
jobs: | ||
job1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{ fromJSON(env.myjson).foo2 }} | ||
- run: echo ${{ fromJSON(env.myjson)[env.var_foo] }} | ||
|
||
# REF: https://stackoverflow.com/questions/77123861/github-actions-workflow-how-to-access-fromjson-dictionary-value-using-the-key-s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Fri Sep 15 01:10:44 UTC 2023 | ||
Mon Sep 18 01:10:12 UTC 2023 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Thu Sep 14 06:22:06 UTC 2023 | ||
Fri Sep 15 06:21:44 UTC 2023 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Mon Sep 18 02:12:54 UTC 2023 | ||
Tue Sep 19 02:13:43 UTC 2023 |