From: Michael Wallner Date: Thu, 17 Dec 2020 11:49:30 +0000 (+0100) Subject: ci: gh-action fetch tags X-Git-Tag: 1.1.0-beta1~44 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Flibmemcached;a=commitdiff_plain;h=9d4ea07d510427108a1e166842d365b061661eb3 ci: gh-action fetch tags --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 0545c213..d75cc66b 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -363,8 +363,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # win build @@ -379,8 +379,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - uses: msys2/setup-msys2@v2 with: release: false @@ -420,6 +420,6 @@ jobs: CC_VER: ${{ matrix.cc_ver }} steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index c160ea30..028d6cf9 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -420,8 +420,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Install dependencies (Linux) if: runner.os == 'Linux' run: | @@ -512,8 +512,8 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - uses: msys2/setup-msys2@v2 with: release: false @@ -553,8 +553,8 @@ jobs: CC_VER: ${{ matrix.cc_ver }} steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1000 + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Prepare environment (for new gnu on ubuntu-20.04) if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='new') run: |