mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Update GH Actions (#3361)
* update actions to use checkout version 4 * update upload-artifact action
This commit is contained in:
committed by
GitHub
parent
f54d4c7f0a
commit
89718c8a62
24
.github/workflows/Linux-pack.yml
vendored
24
.github/workflows/Linux-pack.yml
vendored
@@ -121,13 +121,13 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -143,7 +143,7 @@ jobs:
|
|||||||
echo "================================"
|
echo "================================"
|
||||||
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
||||||
- name: Get packpack tool
|
- name: Get packpack tool
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: ${{ env.PACKPACK_REPO }}
|
repository: ${{ env.PACKPACK_REPO }}
|
||||||
path: tools
|
path: tools
|
||||||
@@ -240,13 +240,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -262,7 +262,7 @@ jobs:
|
|||||||
echo "================================"
|
echo "================================"
|
||||||
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV
|
||||||
- name: Get packpack tool
|
- name: Get packpack tool
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: ${{ env.PACKPACK_REPO }}
|
repository: ${{ env.PACKPACK_REPO }}
|
||||||
path: tools
|
path: tools
|
||||||
@@ -352,13 +352,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -466,13 +466,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -532,13 +532,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|||||||
2
.github/workflows/MacOS-pack.yml
vendored
2
.github/workflows/MacOS-pack.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
run: brew install qt@5 cmake
|
run: brew install qt@5 cmake
|
||||||
|
|||||||
6
.github/workflows/Windows-pack.yml
vendored
6
.github/workflows/Windows-pack.yml
vendored
@@ -54,14 +54,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# ref: master
|
# ref: master
|
||||||
|
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -197,7 +197,7 @@ jobs:
|
|||||||
echo $(python $GITHUB_WORKSPACE/scripts/upload_services/transferwee.py upload $GITHUB_WORKSPACE/build/Package/portable/flameshot-${VERSION}-${{ matrix.config.pak_arch }}.zip)
|
echo $(python $GITHUB_WORKSPACE/scripts/upload_services/transferwee.py upload $GITHUB_WORKSPACE/build/Package/portable/flameshot-${VERSION}-${{ matrix.config.pak_arch }}.zip)
|
||||||
echo "=====no operation for you can see link in the log console====="
|
echo "=====no operation for you can see link in the log console====="
|
||||||
- name: Artifact Upload
|
- name: Artifact Upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Windows-artifact
|
name: Windows-artifact
|
||||||
path: ${{ github.workspace }}/build/Package/*
|
path: ${{ github.workspace }}/build/Package/*
|
||||||
|
|||||||
6
.github/workflows/build_cmake.yml
vendored
6
.github/workflows/build_cmake.yml
vendored
@@ -27,11 +27,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache Qt
|
- name: Cache Qt
|
||||||
id: cache-qt
|
id: cache-qt
|
||||||
|
|||||||
4
.github/workflows/clang-format.yml
vendored
4
.github/workflows/clang-format.yml
vendored
@@ -9,10 +9,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Checkout Source code
|
- name: Checkout Source code
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- uses: DoozyX/clang-format-lint-action@v0.13
|
- uses: DoozyX/clang-format-lint-action@v0.13
|
||||||
|
|||||||
4
.github/workflows/deploy-dev-docs.yml
vendored
4
.github/workflows/deploy-dev-docs.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
git+https://github.com/veracioux/mkdoxy@v1.0.0
|
git+https://github.com/veracioux/mkdoxy@v1.0.0
|
||||||
|
|
||||||
- name: Checkout flameshot source
|
- name: Checkout flameshot source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: 'flameshot'
|
path: 'flameshot'
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
make build
|
make build
|
||||||
|
|
||||||
- name: Checkout flameshot website
|
- name: Checkout flameshot website
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: 'flameshot-org/flameshot-org.github.io'
|
repository: 'flameshot-org/flameshot-org.github.io'
|
||||||
ref: 'gh-pages'
|
ref: 'gh-pages'
|
||||||
|
|||||||
Reference in New Issue
Block a user