Skip to content

Commit

Permalink
Update GH actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
d1vanov committed Jan 3, 2025
1 parent 0626c8b commit 33c9307
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
compiler_cpp: 'clang++'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install non-Qt dependencies
id: install_non_qt_deps
Expand Down Expand Up @@ -112,22 +112,22 @@ jobs:
- name: Upload QEverCloudGenerator artifact
id: upload_artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: QEverCloudGenerator_linux
path: '${{ github.workspace }}/build/installdir/bin/QEverCloudGenerator'
if: ${{ matrix.qt_version == '5.15.4' && matrix.compiler_cpp == 'g++' }}

build_macos:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: macos-11
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.16.x'
cmake-version: '3.30.x'

- name: Setup ninja
env:
Expand All @@ -141,7 +141,7 @@ jobs:
- name: Cache Qt 5.15.2
id: cache_qt5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '${{ runner.workspace }}/Qt5'
key: ${{ runner.os }}-Qt5Cache
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Upload QEverCloudGenerator artifact
id: upload_artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: QEverCloudGenerator_macos
path: ${{ github.workspace }}/build/installdir/bin/QEverCloudGenerator
Expand All @@ -187,11 +187,11 @@ jobs:
- target_arch: 'x64'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Qt 5.15.2 x86
id: cache_qt_x86
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '${{ runner.workspace }}/Qt_x86'
key: ${{ runner.os }}-QtCache-x86
Expand All @@ -213,7 +213,7 @@ jobs:

- name: Cache Qt 5.15.2 x64
id: cache_qt_x64
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '${{ runner.workspace }}/Qt_x64'
key: ${{ runner.os }}-QtCache-x64
Expand Down Expand Up @@ -263,15 +263,15 @@ jobs:

- name: Upload x86 QEverCloudGenerator
id: upload_artifact_x86
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: QEverCloudGenerator_windows_x86
path: '${{ github.workspace }}\build\installdir\bin\QEverCloudGenerator.exe'
if: ${{ matrix.target_arch == 'x86' }}

- name: Upload x64 QEverCloudGenerator
id: upload_artifact_x64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: QEverCloudGenerator_windows_x64
path: '${{ github.workspace }}\build\installdir\bin\QEverCloudGenerator.exe'
Expand Down

0 comments on commit 33c9307

Please sign in to comment.