From 8afd12103d3251faf53c9ea66e93cb6b5cc0ad7c Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Fri, 11 Mar 2022 17:40:35 -0700 Subject: [PATCH] ci: build: try to use windows-2022 --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c13cc6d7..ddc8e2d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: # use old linux so that the shared library versioning is more portable artifact_name: capa asset_name: linux - - os: windows-2019 + - os: windows-2022 artifact_name: capa.exe asset_name: windows - os: macos-10.15 @@ -68,12 +68,16 @@ jobs: - os: ubuntu-20.04 artifact_name: capa asset_name: linux + - os: windows-2022 + artifact_name: capa.exe + asset_name: windows steps: - name: Download ${{ matrix.asset_name }} uses: actions/download-artifact@v2 with: name: ${{ matrix.asset_name }} - name: Set executable flag + if: matrix.os != 'windows-2022' run: chmod +x ${{ matrix.artifact_name }} - name: Run capa run: ./${{ matrix.artifact_name }} -h