summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2022-05-19 11:46:49 +0200
committerJaroslav Kysela <perex@perex.cz>2022-05-19 12:38:18 +0200
commit06ddcbe88eded3a7ec55aa74d6301eb8dbf575c8 (patch)
treefdd0cbd7f4142248dd11fe0f0de113efade8a374
parent5f0479762bc249720e2967bdbd0e737d061cdf54 (diff)
downloadalsa-lib-06ddcbe88eded3a7ec55aa74d6301eb8dbf575c8.tar.gz
github actions: move to checkout@v3
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--.github/workflows/build.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e23bd502..d8a025b4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,10 +13,12 @@ jobs:
dnf -y upgrade
dnf -y install @development-tools libtool bzip2
- name: Checkout
- uses: actions/checkout@v2
- - name: Checkout all tags
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Safe git directory
run: |
- git fetch --prune --unshallow
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Modify version
run: |
mv configure.ac configure.ac.old
@@ -73,7 +75,7 @@ jobs:
image: ubuntu:latest
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Prepare environment
run: |
export DEBIAN_FRONTEND=noninteractive