Skip to content

Commit 9962ba9

Browse files
authored
added expression workflow
1 parent 7f20175 commit 9962ba9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

github-actions/templates/expression-functions.yml renamed to .github/workflows/expression-functions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
run: echo ${{ format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat') }}
2525
- name: Join issue labels
2626
if: github.event_name == 'issues'
27-
run: echo "Issue labels: ${{ join(github.event.issue.labels.*.name, ', ') }}"
27+
run: echo "Issue labels ${{ join(github.event.issue.labels.*.name, ', ') }}"
2828
- name: Convert job context to JSON
29-
run: echo "Job context in JSON: ${{ toJSON(github.job) }}"
29+
run: 'echo "Job context in JSON: ${{ toJSON(github.job) }}"'
3030
- name: Parse JSON string
31-
run: echo "Parsed JSON: ${{ fromJSON('{"hello":"world"}').hello }}"
31+
run: echo "Parsed JSON ${{ fromJSON('{"hello":"world"}').hello }}"
3232
- name: Hash files
33-
run: echo "Hash of files: ${{ hashFiles('**/package-lock.json', '**/Gemfile.lock') }}
33+
run: echo "Hash of files ${{ hashFiles('**/package-lock.json', '**/Gemfile.lock') }}
3434
- name: The job has succeeded
3535
if: ${{ success() }}
3636
- name: The job has failed

0 commit comments

Comments
 (0)