aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 01:11:50 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 01:21:36 +0100
commit7e85b2cbdb69a1f46039e3ef03aa4494e7b0252a (patch)
tree3305401297ec51c5532b282a3b0bccd95a6d7c6d
parentworkflows/ci: disabled scheduled runs (diff)
downloadwinapi-common-7e85b2cbdb69a1f46039e3ef03aa4494e7b0252a.tar.gz
winapi-common-7e85b2cbdb69a1f46039e3ef03aa4494e7b0252a.zip
workflows/ci: upgrade actions
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 14 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8377d73..8ea033b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,7 +12,7 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Run clang-format
@@ -43,16 +43,18 @@ jobs:
CMAKE_FLAGS: -D WINAPI_COMMON_TESTS=ON
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
@@ -63,7 +65,7 @@ jobs:
- name: Build
run: make install
- name: Upload binaries
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: 'winapi-common-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: '${{ runner.workspace }}/build/install/'
@@ -72,7 +74,7 @@ jobs:
run: make test
if: runner.os == 'Windows'
- name: Upload test logs
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: 'test_logs-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: |
@@ -98,16 +100,18 @@ jobs:
# build the project. TODO: research if this is possible without having a
# Doxyfile.
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: '${{ runner.workspace }}/build/boost_*.tar.gz'
key: 'boost_${{ env.BOOST_VERSION }}'
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
- name: Install Doxygen
@@ -121,7 +125,7 @@ jobs:
- name: Build docs
run: make docs
- name: Publish to GitHub Pages
- uses: JamesIves/github-pages-deploy-action@4.1.5
+ uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ../build/cmake/html