Skip to content

Commit

Permalink
Update to latest GitHub Actions releases
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Feb 13, 2024
1 parent 27dd593 commit 640ce3d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}/*
Expand All @@ -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
Expand All @@ -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}}
Expand All @@ -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/*
Expand All @@ -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}}
Expand All @@ -155,7 +155,7 @@ jobs:
env:
CTEST_OUTPUT_ON_FAILURE: 1
- name: Upload coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
directory: ${{github.workspace}}
gcov_args: -s ${{github.workspace}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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

0 comments on commit 640ce3d

Please sign in to comment.