diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 70967f6cfe..dc63d41378 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,17 +23,18 @@ jobs: run: dapper -f Dockerfile --target dapper make dapper-ci - name: Test run: dapper -f Dockerfile --target dapper make test - - name: Access Test Logs on Failure + - name: Prepare Test Logs on Failure if: ${{ failure() }} run: | - sudo chmod -R a+r /tmp/rke2-logs - ls -la /tmp/rke2-logs + sudo cp -r /tmp/rke2-logs ~/rke2-logs + sudo chown -R $USER:$USER ~/rke2-logs + ls -la ~/rke2-logs - name: Upload Logs on Failure if: ${{ failure() }} uses: actions/upload-artifact@v4 with: name: rke2-test-logs - path: /tmp/rke2-logs/ + path: ~/rke2-logs/ build-arm64: runs-on: runs-on,runner=8cpu-linux-arm64,run-id=${{ github.run_id }},image=ubuntu22-full-arm64,hdd=64 steps: