From 695e3ccf9c772a86c83430a465d6cfabf97c90f7 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 25 Jan 2024 21:01:55 +0100 Subject: [PATCH] Use new fetch-tags option and removed setting fetch-depth to the default value. --- .github/workflows/main.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 788f8a005a..aba6692a18 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,8 +19,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 1 - name: Install dependencies run: build/linux-x64/install.dependencies.sh @@ -50,8 +48,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 1 - name: Install dependencies run: build/linux-musl-x64/install.dependencies.sh @@ -79,8 +75,6 @@ jobs: # - name: Checkout # uses: actions/checkout@v4 - # with: - # fetch-depth: 1 # - name: Install Magick.Native # run: 'build/shared/install.Magick.Native.sh "dlemstra" "${{ secrets.GITHUB_TOKEN }}" linux arm64' @@ -103,8 +97,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 1 - name: Install dependencies run: build/osx-x64/install.dependencies.sh @@ -145,7 +137,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-tags: true - name: Install dependencies run: ./install.dependencies.cmd @@ -200,7 +192,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-tags: true - name: Install dependencies run: ./install.dependencies.cmd