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/*
<?php steps(false); ?>
# win build
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
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/*
<?php steps(true); ?>
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: |
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
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: |