diff --git a/.github/workflows/build-mingw.yml b/.github/workflows/build-mingw.yml index 51693e8..3fa9500 100644 --- a/.github/workflows/build-mingw.yml +++ b/.github/workflows/build-mingw.yml @@ -8,11 +8,11 @@ on: jobs: build: name: Create Release - runs-on: windows-2019 + runs-on: windows-latest env: libraryName: curl cmakeInstallationPath: curl-installation - tagName: curl-7_86_0 + tagName: curl-8_0_1 mingwTargetZip: curl-${{ github.ref_name }}-mingw64-x86_64-posix-seh-rev0-8.1.0.zip steps: - name: check mingw version @@ -51,19 +51,19 @@ jobs: -DCURL_USE_SCHANNEL=ON ^ -DBUILD_SHARED_LIBS=OFF ^ -DENABLE_UNICODE=ON ^ - -DCMAKE_INSTALL_PREFIX="build/${{ env.cmakeInstallationPath }}" -B./build &&^ + -DCMAKE_INSTALL_PREFIX="cmake-build/${{ env.cmakeInstallationPath }}" -B./build &&^ cd build && cmake --build . && cmake --install . - name: Archive Release uses: thedoctor0/zip-release@master with: type: 'zip' - directory: "curl/build/${{ env.cmakeInstallationPath }}" + directory: "curl/cmake-build/${{ env.cmakeInstallationPath }}" filename: "${{ env.mingwTargetZip }}" - name: Release prebuilt uses: ncipollo/release-action@v1 with: - artifacts: "curl/build/${{ env.cmakeInstallationPath }}/${{ env.mingwTargetZip }}" + artifacts: "curl/cmake-build/${{ env.cmakeInstallationPath }}/${{ env.mingwTargetZip }}" allowUpdates: true token: ${{ secrets.GITHUB_TOKEN }}