Skip to content

Commit

Permalink
Trying again to fix failed Action test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Sep 26, 2023
1 parent 0733ace commit 8fdd1c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ jobs:
with:
feed_url: "https://knowledgeworkersguide.substack.com/feed"

- name: Set Output as Env Var
run: echo "FEED_OUTPUT=${{ steps.test-action.outputs.feed }}" >> $GITHUB_ENV
- name: Write Output to File
run: echo "${{ steps.test-action.outputs.feed }}" > feed_output.json

- name: Validate Output is JSON
id: validate-json
run: echo "$FEED_OUTPUT" | jq empty
run: jq empty feed_output.json

0 comments on commit 8fdd1c4

Please sign in to comment.