chore(ci): fetch full history and tags for releasing nuxt-edge

[release]
This commit is contained in:
Xin Du (Clark) 2021-01-13 12:52:45 +00:00 committed by GitHub
parent 63d3b21f10
commit 9ec5d5b8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,6 +319,12 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@master
with:
ref: 'refs/heads/dev'
fetch-depth: 0 # All history
- name: fetch tags
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
- name: restore workspace cache
uses: actions/cache@v2