mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 10:45:39 +03:00
Upgrade GitHub Actions
This commit is contained in:
parent
ff72ef9a73
commit
0a2efa954d
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -21,9 +21,9 @@ jobs:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C/C++/Protobuf programs.
|
||||
uses: jidicula/clang-format-action@v4.5.0
|
||||
uses: jidicula/clang-format-action@v4.8.0
|
||||
with:
|
||||
clang-format-version: '13'
|
||||
exclude-regex: 'dep'
|
||||
@ -55,10 +55,10 @@ jobs:
|
||||
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Clone flatpak manifest from Flathub
|
||||
uses: GuillaumeFalourd/clone-github-repo-action@v1
|
||||
uses: GuillaumeFalourd/clone-github-repo-action@v2
|
||||
with:
|
||||
owner: 'flathub'
|
||||
repository: 'com.github.Murmele.Gittyup'
|
||||
@ -180,7 +180,7 @@ jobs:
|
||||
CMAKE_FLAGS: '-DDEV_BUILD="${{ github.ref_name }}"'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Initialize Submodules
|
||||
uses: snickerbockers/submodules-init@v4
|
||||
@ -291,14 +291,14 @@ jobs:
|
||||
|
||||
- name: Publish build artifacts
|
||||
if: matrix.env.pack && !matrix.qt.check_only
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build/release/pack/Gittyup-*
|
||||
name: Gittyup ${{ matrix.env.name }}
|
||||
|
||||
- name: Publish version file
|
||||
if: matrix.env.pack && !matrix.qt.check_only
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build/release/VERSION.txt
|
||||
name: Gittyup-VERSION
|
||||
@ -328,7 +328,7 @@ jobs:
|
||||
if: ${{ github.ref == 'refs/heads/master' || (github.event_name == 'push' && github.ref_type == 'tag' && startswith(github.ref_name, 'gittyup_v')) }}
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
@ -382,12 +382,12 @@ jobs:
|
||||
# needed otherwise the docs folder is not available
|
||||
- name: Checkout repository
|
||||
if: ${{ env.IS_RELEASE == 'true'}}
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# update github pages only if it is a release
|
||||
- name: Deploy Github pages
|
||||
if: ${{ env.IS_RELEASE == 'true'}}
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: docs # The folder the action should deploy.
|
||||
|
Loading…
Reference in New Issue
Block a user