Skip to content

Commit

Permalink
CI: updated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Apr 3, 2024
1 parent 213df19 commit 8dbd604
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ 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

Expand Down Expand Up @@ -60,7 +58,7 @@ jobs:
./CI/build-appimg.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: assets
path: LibreCAD*.AppImage
Expand All @@ -70,7 +68,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -90,7 +88,7 @@ jobs:
mv LibreCAD.dmg LibreCAD-`git describe --always`.dmg
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: assets
path: LibreCAD*.dmg
Expand All @@ -100,7 +98,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -117,7 +115,7 @@ jobs:
- name: Install Qt-5.15
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
version: '5.15.3'
host: 'windows'
target: 'desktop'
arch: 'win32_mingw81'
Expand Down Expand Up @@ -160,11 +158,11 @@ jobs:
echo.
dir ..\Qt
echo.
dir ..\Qt\5.15.2\
dir ..\Qt\5.15.3\
echo.
dir ..\Qt\5.15.2\mingw81_32\
dir ..\Qt\5.15.3\mingw81_32\
echo.
dir ..\Qt\5.15.2\mingw81_32\bin
dir ..\Qt\5.15.3\mingw81_32\bin
- name: Build
run: |
Expand All @@ -183,7 +181,7 @@ jobs:
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: assets
path: LibreCAD-Installer*.exe
Expand All @@ -193,7 +191,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -210,7 +208,7 @@ jobs:
- name: Install Qt-5.15
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
version: '5.15.3'
host: 'windows'
target: 'desktop'
arch: 'win64_mingw81'
Expand Down Expand Up @@ -253,11 +251,11 @@ jobs:
echo.
dir ..\Qt
echo.
dir ..\Qt\5.15.2\
dir ..\Qt\5.15.3\
echo.
dir ..\Qt\5.15.2\mingw81_64\
dir ..\Qt\5.15.3\mingw81_64\
echo.
dir ..\Qt\5.15.2\mingw81_64\bin
dir ..\Qt\5.15.3\mingw81_64\bin
- name: Build
run: |
Expand All @@ -276,7 +274,7 @@ jobs:
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: assets
path: LibreCAD-Installer*.exe
Expand All @@ -285,15 +283,15 @@ jobs:
UpdateAssets:
if: github.repository_owner == 'LibreCAD'
needs: [BuildLinux, BuildMacOS, BuildWindows, 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@v4

- name: Upload latest pre-release
uses: "marvinpinto/action-automatic-releases@latest"
Expand Down

0 comments on commit 8dbd604

Please sign in to comment.