Skip to content

Commit

Permalink
try fix exe info
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Jun 25, 2024
1 parent 4d839a1 commit fe2ccd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/busybox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions busybox/test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe2ccd1

Please sign in to comment.