From 49af0595ddba01e5d3dd4c53aa89fc656f3ee2d8 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Tue, 2 Apr 2024 20:35:46 -0400 Subject: [PATCH] CI: updated versions --- .github/workflows/build-all.yml | 46 ++++++++++++++++----------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 13b8b92a72..971c627c5a 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -6,19 +6,17 @@ on: jobs: BuildLinux: - runs-on: ubuntu-22.04 - env: - platform_version: 22.04 + runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 - name: Install Qt6 - uses: jurplel/install-qt-action@v3 + uses: jurplel/install-qt-action@main with: - version: '6.5.*' + version: '6.6.*' - name: Install Qt and dependencies run: | @@ -65,7 +63,7 @@ jobs: ./CI/build-appimg.sh - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@main with: name: assets path: LibreCAD*.AppImage @@ -75,14 +73,14 @@ jobs: runs-on: macos-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 - name: Install Qt6 - uses: jurplel/install-qt-action@v3 + uses: jurplel/install-qt-action@main with: - version: '6.5.*' + version: '6.6.*' - name: Install boost dependencies run: | @@ -94,7 +92,7 @@ jobs: mv LibreCAD.dmg LibreCAD-`git describe --always`.dmg - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@main with: name: assets path: LibreCAD*.dmg @@ -104,7 +102,7 @@ jobs: runs-on: windows-2019 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 @@ -114,14 +112,14 @@ jobs: choco uninstall strawberryperl --force - name: Install MinGW8.1 64-bit - uses: msys2/setup-msys2@v2 + uses: msys2/setup-msys2@main with: msystem: MINGW64 - name: Install Qt6 - uses: jurplel/install-qt-action@v3 + uses: jurplel/install-qt-action@main with: - version: '6.5.3' + version: '6.6.3' host: 'windows' arch: 'win64_mingw' target: 'desktop' @@ -137,9 +135,9 @@ jobs: - name: Install boost shell: bash run: | - curl -# -L -o boost.7z https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.7z + curl -# -L -o boost.7z https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.7z 7z x -o. -y boost.7z - mv boost_1_75_0 ../boost + mv boost_1_83_0 ../boost rm boost.7z - name: Debugging @@ -162,11 +160,11 @@ jobs: echo. dir ..\Qt echo. - dir ..\Qt\6.5.3\ + dir ..\Qt\6.6.3\ echo. - dir ..\Qt\6.5.3\mingw_64\ + dir ..\Qt\6.6.3\mingw_64\ echo. - dir ..\Qt\6.5.3\mingw_64\bin + dir ..\Qt\6.6.3\mingw_64\bin - name: Build run: | @@ -185,7 +183,7 @@ jobs: shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@main with: name: assets path: LibreCAD-Installer*.exe @@ -194,15 +192,15 @@ jobs: UpdateAssets: if: github.repository_owner == 'LibreCAD' needs: [BuildLinux, BuildMacOS, BuildWindows64] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@main with: fetch-depth: 0 - name: Fetch artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@main - name: Upload latest pre-release uses: "marvinpinto/action-automatic-releases@latest"