fix(ci): Fetch all history.
@@ -10,7 +10,8 @@ jobs:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
+ with:
+ fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
@@ -53,7 +54,8 @@ jobs:
if: github.repository == 'mnubo/kubernetes-py' && github.event_name == 'push' && github.ref == 'master'
steps:
- uses: actions/checkout@v2
- - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
+ with:
+ fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
with:
