We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9aa0e3 commit 7f37a68Copy full SHA for 7f37a68
.github/workflows/test-with-post-step.yaml
@@ -38,14 +38,15 @@ jobs:
38
39
- name: With post step run
40
uses: ./actions/with-post-step
41
+ env:
42
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
with:
44
main: |
45
echo "with-post-step run"
46
post: |
47
# Write post output
48
echo "${{ steps.command.outputs.test_output }}" > post_output.txt
49
# Upload artifact directly from post step
- gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"
50
gh actions upload-artifact --name post-step-output --path post_output.txt
51
verify:
52
runs-on: ubuntu-latest
0 commit comments