diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 00:56:21 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 00:56:21 +0100 |
commit | 5296c3a16b10c34f965f22d65e41fa2048faa0d9 (patch) | |
tree | 24b6e3f82c8e828fd4c1d85b063d0b100cede880 /.github/workflows/ci.yml | |
parent | workflows/ci: don't build for ARM on every commit (diff) | |
download | math-server-5296c3a16b10c34f965f22d65e41fa2048faa0d9.tar.gz math-server-5296c3a16b10c34f965f22d65e41fa2048faa0d9.zip |
workflows/ci: upgrade actions
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33d7302..d1acbae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: continue-on-error: ${{ github.ref != 'refs/heads/master' }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - name: Run clang-format @@ -43,13 +43,15 @@ jobs: shell: pwsh steps: - 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: Cache Boost - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '${{ runner.workspace }}/build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' @@ -58,7 +60,7 @@ jobs: - name: Build run: make install - name: Upload binaries - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'math-server-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/build/install/' @@ -75,15 +77,15 @@ jobs: name: 'Docker: publish math-${{ matrix.project }}' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: '${{ secrets.DOCKERHUB_USERNAME }}' password: '${{ secrets.DOCKERHUB_TOKEN }}' @@ -97,7 +99,7 @@ jobs: echo 'platforms=linux/amd64' >> "$GITHUB_OUTPUT" fi - name: 'Publish math-${{ matrix.project }}' - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: file: '${{ matrix.project }}/Dockerfile' platforms: '${{ steps.platforms.outputs.platforms }}' |