From 4f7514450be05d388f7db179658eaa1dabca9645 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 00:55:56 +0100 Subject: workflows/ci: upgrade actions --- .github/workflows/ci.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0164b07..1d09362 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,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 @@ -44,16 +44,18 @@ jobs: CONFIGURATION: '${{ matrix.configuration }}' 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: @@ -64,7 +66,7 @@ jobs: - name: Build run: make install - name: Upload binaries - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'winapi-utf8-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/build/install/' @@ -89,11 +91,13 @@ 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: 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 @@ -105,7 +109,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 -- cgit v1.2.3