Skip to content

Commit

Permalink
Merge pull request #573 from rapidsai/branch-23.08
Browse files Browse the repository at this point in the history
Forward-merge branch-23.08 to branch-23.10
  • Loading branch information
GPUtester authored Aug 4, 2023
2 parents 4ac8bf8 + 76f5cb5 commit 2d31a16
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/update-dask-sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ on:
jobs:
update-dask-sql:
runs-on: ubuntu-latest
container:
image: rapidsai/ci:latest
if: github.repository == 'rapidsai/docker'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Get current dask-sql version
id: current_version
uses: the-coding-turtle/[email protected]
with:
file: matrix.yaml
run: |
DASK_SQL_VER="$(yq -r '.DASK_SQL_VER.[0]' matrix.yaml)"
echo "DASK_SQL_VER=${DASK_SQL_VER}" | tee -a ${GITHUB_OUTPUT}
- name: Get new dask-sql version
id: new_version
Expand All @@ -35,8 +37,8 @@ jobs:
FULL_VER: ${{ steps.current_version.outputs.DASK_SQL_VER }}
FULL_NEW_VER: ${{ steps.new_version.outputs.version }}
run: |
echo SHORT_VER=${FULL_VER::-2} >> $GITHUB_ENV
echo SHORT_NEW_VER=${FULL_NEW_VER::-2} >> $GITHUB_ENV
echo SHORT_VER=${FULL_VER%.*} >> $GITHUB_ENV
echo SHORT_NEW_VER=${FULL_NEW_VER%.*} >> $GITHUB_ENV
- name: Find and replace full dask-sql version
uses: jacobtomlinson/gha-find-replace@v3
Expand All @@ -54,8 +56,8 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update `STABLE_DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}`
title: Update `STABLE_DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}`
commit-message: Update `DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}`
title: Update `DASK_SQL_VERSION` to `${{ steps.new_version.outputs.version }}`
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: "upgrade-dask-sql"
body: |
Expand Down

0 comments on commit 2d31a16

Please sign in to comment.