Skip to content

Commit

Permalink
fix: build with older windows (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Sep 18, 2024
1 parent e1b5f9e commit fc1e4b8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,17 @@ jobs:
tar_linux_amd64
build_windows:
name: windows
runs-on: windows-2022
runs-on: windows-2019
outputs:
artifact: ${{steps.upload.outputs.artifact-url}}
steps:
- uses: actions/checkout@v4
- run: |
bazel build @libarchive//tar
mv bazel-bin/external/libarchive~/tar/bsdtar tar_windows_amd64
- name: smoke test
run: |
.\tar_windows_amd64 --help
mv bazel-bin/external/libarchive~/tar/bsdtar tar_windows_amd64.exe
- uses: actions/upload-artifact@v4
id: upload
with:
name: windows
retention-days: 1
path: |
tar_windows_amd64
path: tar_windows_amd64.exe

0 comments on commit fc1e4b8

Please sign in to comment.