Skip to content

Commit

Permalink
ci: fix adding prefix to piped stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Jun 19, 2023
1 parent fab5241 commit abc1cf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
ENDPOINT: repos/ipfs/ipfs-webui/commits/${{ steps.ref.outputs.ref }}/status
SELECTOR: .state
run: gh api "$ENDPOINT" --jq "$SELECTOR" | echo "state=" | tee -a $GITHUB_OUTPUT
KEY: state
run: gh api "$ENDPOINT" --jq "$SELECTOR" | xargs -I{} echo "$KEY={}" | tee -a $GITHUB_OUTPUT
- name: Build ipfs-webui@main (state=${{ steps.state.outputs.state }})
run: npm run test:build
working-directory: ipfs-webui
Expand Down

0 comments on commit abc1cf5

Please sign in to comment.