aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 00:55:56 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 00:55:56 +0100
commit4f7514450be05d388f7db179658eaa1dabca9645 (patch)
tree2e1aec753d05d5ed5adfe991e2ac58fb81a80b89 /.github/workflows
parentworkflows/ci: disable scheduled runs (diff)
downloadwinapi-utf8-4f7514450be05d388f7db179658eaa1dabca9645.tar.gz
winapi-utf8-4f7514450be05d388f7db179658eaa1dabca9645.zip
workflows/ci: upgrade actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 12 insertions, 8 deletions
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