Skip to content

Commit

Permalink
Update fetch-depth for checkouts
Browse files Browse the repository at this point in the history
  • Loading branch information
raydouglass committed Jul 13, 2023
1 parent 58b72c2 commit 8e5e477
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Clean up condarc for release builds
run: |
GIT_DESCRIBE_TAG="$(git describe --tags --abbrev=0)"
GIT_DESCRIBE_TAG="${GIT_DESCRIBE_TAG:1}" #remove leading 'v'
if [[ ! $GIT_DESCRIBE_TAG =~ [a-z] ]]; then
rapids-logger "Most recent tag is for release, removing nightly channels"
sed -i '/nightly/d;/dask\/label\/dev/d' context/condarc
fi
- name: Login to DockerHub
uses: docker/login-action@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-test-publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Compute matrix
id: compute-matrix
run: |
Expand Down Expand Up @@ -138,6 +140,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:
run: rapids-mamba-retry install -n base --freeze-installed git
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get RAPIDS GitHub Info
id: get-rapids-github-info
uses: rapidsai/shared-action-workflows/[email protected]
Expand Down

0 comments on commit 8e5e477

Please sign in to comment.