From 1df99c5ea87fe25d11d2bef0f4f3a91bd77e4cf2 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 12 Feb 2024 20:07:13 -0600 Subject: [PATCH] Update to latest GitHub Actions releases --- .github/workflows/ci.yaml | 16 ++++++++-------- .github/workflows/release.yaml | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 130e7ca..de22d29 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,16 +30,16 @@ jobs: steps: - name: Cache PCRE2 - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{runner.workspace}}/build/pcre-prefix/src/pcre2-10.42.tar.gz key: pcre2-10.42 - name: Clone project - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get snapshot ID id: get-snap-id shell: bash - run: echo "::set-output name=snap_id::git${{github.sha}}" | cut -c-38 + run: echo "snap_id=git${{github.sha}}" | cut -c-19 >> $GITHUB_OUTPUT - name: Create build environment shell: bash working-directory: ${{runner.workspace}} @@ -76,7 +76,7 @@ jobs: - name: Package project run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j2 -t package - name: Upload package - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: OpenELP-${{runner.os}} path: ${{runner.workspace}}/build/_CPack_Packages/${{runner.os}}/ZIP/OpenELP-${{runner.os}}/* @@ -89,7 +89,7 @@ jobs: run: sudo apt-get install libclang-cpp9 libclang1-9 -y - name: Cache Doxygen id: cache-doxygen - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{runner.workspace}}/doxygen key: doxygen-1.9.7 @@ -100,7 +100,7 @@ jobs: wget -O - https://www.doxygen.nl/files/doxygen-1.9.7.linux.bin.tar.gz | tar -xz mv doxygen-1.9.7 doxygen - name: Clone project - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create build environment shell: bash working-directory: ${{runner.workspace}} @@ -122,7 +122,7 @@ jobs: - name: Build documentation run: cmake --build ${{runner.workspace}}/build -j2 -t doc - name: Upload documentation - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: OpenELP-HTML-Docs path: ${{runner.workspace}}/build/doc/html/* @@ -132,7 +132,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone project - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create build environment shell: bash working-directory: ${{runner.workspace}} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 903eaac..9eb7679 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,12 +12,12 @@ jobs: steps: - name: Cache PCRE2 - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{runner.workspace}}\build\pcre-prefix\src\pcre2-10.42.tar.gz key: pcre2-10.42 - name: Clone project - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create build environment shell: bash working-directory: ${{runner.workspace}} @@ -44,7 +44,7 @@ jobs: - name: Package project run: cmake --build ${{runner.workspace}}\build --config Release -j2 -t package - name: Upload package - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: OpenELP-win64 path: ${{runner.workspace}}\build\OpenELP-*-win64.exe