diff --git a/.github/workflows/callbackFunctions.yml b/.github/workflows/callbackFunctions.yml index e9b4993..a1c104a 100644 --- a/.github/workflows/callbackFunctions.yml +++ b/.github/workflows/callbackFunctions.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure CMake run: cmake -S ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions -B ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.arch }} @@ -44,28 +44,28 @@ jobs: - name: Archive production artifacts (win) if: success() && matrix.os == 'windows-latest' && matrix.arch == '' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: callbackFunctions-win-binaries path: src/FMI2/callbackFunctions/binaries/win64/ - name: Archive production artifacts (win32) if: success() && matrix.os == 'windows-latest' && matrix.arch != '' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: callbackFunctions-win32-binaries path: src/FMI2/callbackFunctions/binaries/win32/ - name: Archive production artifacts (linux) if: success() && matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: callbackFunctions-linux-binaries path: src/FMI2/callbackFunctions/binaries/linux64/ - name: Archive production artifacts (darwin) if: success() && matrix.os == 'macos-latest' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: callbackFunctions-mac-binaries path: src/FMI2/callbackFunctions/binaries/darwin64/ @@ -75,35 +75,35 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download windows binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: callbackFunctions-win-binaries path: src/FMI2/callbackFunctions/binaries/win64/ - name: Download windows x86 binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: callbackFunctions-win32-binaries path: src/FMI2/callbackFunctions/binaries/win32/ - name: Download linux binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: callbackFunctions-linux-binaries path: src/FMI2/callbackFunctions/binaries/linux64/ - name: Download darwin binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: callbackFunctions-mac-binaries path: src/FMI2/callbackFunctions/binaries/darwin64/ - name: "Auto commit" if: ${{ github.event_name == 'push' }} - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Update callbackFunctions push_options: '--force-with-lease'