From: Jaroslav Kysela Date: Thu, 19 May 2022 09:46:49 +0000 (+0200) Subject: github actions: move to checkout@v3 X-Git-Tag: v1.2.7~23 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=06ddcbe88eded3a7ec55aa74d6301eb8dbf575c8;p=alsa-lib.git github actions: move to checkout@v3 Signed-off-by: Jaroslav Kysela --- 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