Skip to content

Commit

Permalink
action.yaml: Add post step to print logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Feb 12, 2025
1 parent 575cf10 commit aaa4138
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ runs:
- name: Run parca agent in background
shell: bash
run: sudo ./parca-agent --metadata-external-labels='${{ inputs.labels }}' --profiling-duration=${{ inputs.profiling_duration }} --profiling-cpu-sampling-frequency=${{ inputs.profiling_frequency }} --node=github --remote-store-address=${{ inputs.store_address }} --remote-store-bearer-token=${{ inputs.polarsignals_cloud_token }} ${{ inputs.extra_args }} > ${{ runner.temp }}/parca-agent.log 2>&1 &
post:
- name: Show logs
shell: bash
run: cat ${{ runner.temp }}/parca-agent.log

0 comments on commit aaa4138

Please sign in to comment.