Skip to content

Commit

Permalink
fix(build): Run git fetch on checkout (same as PR build) (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsie committed Mar 23, 2020
1 parent c61e0fe commit ce4ca68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-python@v1
with:
python-version: 2.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-python@v1
with:
python-version: 2.7
Expand Down

0 comments on commit ce4ca68

Please sign in to comment.