From 08d4bead6d7f83a36a490e7dbd4d30e3552ae827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Joachim=20K=C3=BChn?= Date: Mon, 16 Dec 2024 20:53:44 +0100 Subject: [PATCH] updated actions --- .github/actions/build/action.yml | 10 +++++----- .github/actions/test/action.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 915c883a..606bf824 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -6,15 +6,15 @@ runs: shell: bash run: | sudo apt-get -qq update - sudo apt-get -qq install gcc-11 - sudo apt-get -qq -y install g++-11 + sudo apt-get -qq install gcc-12 + sudo apt-get -qq -y install g++-12 sudo apt-get -qq -y install lcov - name: Build shell: # ensure that the installed compiler version is used run: | - export CC=/usr/bin/gcc-11 - export CXX=/usr/bin/g++-11 + export CC=/usr/bin/gcc-12 + export CXX=/usr/bin/g++-12 mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Debug -DGMGPOLAR_TEST_COVERAGE=ON .. make -j4 @@ -23,7 +23,7 @@ runs: run: | tar -czf build.tar.gz build - name: Upload build dir archive - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-cpp-linux-gmgpolar path: build.tar.gz diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index c4dbe781..68f30bc8 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -15,7 +15,7 @@ runs: sudo apt-get -qq -y install lcov sudo apt-get -qq update - name: Download build test directory - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.build-artifact }} - name: extract build archive @@ -37,14 +37,14 @@ runs: cd build cmake --build . --target coverage/fast - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-report path: build/tests/testreport.xml if-no-files-found: error retention-days: 3 - name: Upload coverage reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-coverage-reports path: |