Skip to content

Commit 0e9c90c

Browse files
author
Michael Henderson
committed
cleanup comments to make public
1 parent 613f3ef commit 0e9c90c

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/ci.yml

+1-16
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,11 @@ jobs:
66
runs-on: ubuntu-latest
77
name: A test job to read a value from json as a variable
88
steps:
9-
# To use this repository's private action,
10-
# you must check out the repository
119
- name: Checkout
1210
uses: actions/checkout@v3
1311
- name: Read a json file
14-
uses: ./ # Uses an action in the root directory
12+
uses: ./
1513
id: read
1614
with:
1715
input-file: 'package.json'
1816
input-property: 'author.name' # Exp: 'fiddlermikey'
19-
- name: adding initial markdown
20-
id: adding-initial-markdown
21-
run: echo '### Input file read' > $GITHUB_STEP_SUMMARY
22-
- name: read the variable
23-
id: write
24-
run: echo "The value for ${{ steps.read.outputs.output-property }} is ${{ steps.read.outputs.output-value }}"
25-
- name: adding final markdown
26-
id: adding-final-markdown
27-
# run: echo "### ${{ steps.read.outputs.output-property }}:${{ steps.read.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY # This works
28-
# run: echo "### ${{ steps.read.outputs.output-property }} : ${{ steps.read.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY # This also works
29-
run: echo "### ${{ steps.read.outputs.output-property }} ‐ : ‐${{ steps.read.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY # This works for hypen and colon
30-
31-

0 commit comments

Comments
 (0)