diff --git a/.github/workflows/busybox.yml b/.github/workflows/busybox.yml index b1eb7a6ed..cb149b065 100644 --- a/.github/workflows/busybox.yml +++ b/.github/workflows/busybox.yml @@ -58,6 +58,7 @@ jobs: workflow: ${{ github.workflow }} tool_version: '1.37.0-FRP-5398' prepare_body: | + cat ./test-windows.md >> body.md bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md bsdtar -Oxf ./build-mingw/build-mingw.tar.gz build-mingw.md >> body.md artifacts: ./build-musl/build-musl.tar.gz, ./build-mingw/build-mingw.tar.gz diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index c698388e3..c5b5f0350 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -24,3 +24,7 @@ jobs: cd ./${{ inputs.workflow }} ../.tools/busybox64.exe bash ./test_windows.sh + - uses: actions/upload-artifact@v3 + with: + name: test-${{ inputs.artifact }} + path: ./${{ inputs.workflow }}/release/test-windows.md diff --git a/busybox/test_windows.sh b/busybox/test_windows.sh index a4cde4939..0c3af22da 100755 --- a/busybox/test_windows.sh +++ b/busybox/test_windows.sh @@ -2,6 +2,8 @@ testVersion() { assertEquals "tar (busybox) 1.37.0.git-5398-g89ae34445" "$(../bin/busybox.exe tar --version | head -1)" + + "../bin/busybox.exe" > ./release/test-windows.md } # Load and run shUnit2.