Skip to content

Commit

Permalink
checkout@v2 and fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Mar 10, 2020
1 parent 215495a commit deb857f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@ jobs:
name: Debug
runs-on: ubuntu-latest
steps:
# shallow clones not suitable to generate version number so use v1
- name: Checkout Arrow
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
path: arrow
# in order to generate version number based on git we need the tags
# fetched but checkout@v2 doesn't do that by default
- name: Featch Arrow tags
working-directory: arrow
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# because libgit2 is a dependency of crossbow so prefer conda
- name: Setup Conda
uses: s-weigand/setup-conda@v1
Expand Down

0 comments on commit deb857f

Please sign in to comment.