Skip to content

Commit

Permalink
- update .github/workflows/build-mingw.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkarnez authored Apr 26, 2023
1 parent 729fca9 commit cec59e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit cec59e4

Please sign in to comment.