ci: mkdir workspace before writing into it
The last failure was identical to the one before the /tmp -> workspace fix, byte for byte - meaning github.workspace resolves to /tmp itself in this runner, and the real gap was that nothing creates that directory before our step runs (actions/checkout@v4 normally does this itself; plain wget doesn't). mkdir -p it first, and echo the resolved path so a third failure isn't another blind guess. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
This commit is contained in:
parent
bfdc9704cb
commit
5d025ef55c
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ jobs:
|
||||||
# instead, using the tools that are actually present (wget, tar).
|
# instead, using the tools that are actually present (wget, tar).
|
||||||
- name: Checkout (manual - no git/node in this image)
|
- name: Checkout (manual - no git/node in this image)
|
||||||
run: |
|
run: |
|
||||||
|
echo "workspace is: ${{ github.workspace }}"
|
||||||
|
mkdir -p "${{ github.workspace }}"
|
||||||
wget --header="Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
wget --header="Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||||
-O "${{ github.workspace }}/source.tar.gz" \
|
-O "${{ github.workspace }}/source.tar.gz" \
|
||||||
"https://git.boglabob.com/${{ github.repository }}/archive/${{ github.sha }}.tar.gz"
|
"https://git.boglabob.com/${{ github.repository }}/archive/${{ github.sha }}.tar.gz"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue