From 7b619bb0884005a6306c07d565a4d7c4dfa27c12 Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Thu, 7 Mar 2024 15:18:18 +0100 Subject: [PATCH] Update also coffea version in environment.yaml files --- .github/workflows/watch-conda.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/watch-conda.yaml b/.github/workflows/watch-conda.yaml index 7547370..32fe831 100644 --- a/.github/workflows/watch-conda.yaml +++ b/.github/workflows/watch-conda.yaml @@ -33,6 +33,14 @@ jobs: replace: ${{ steps.latest_version.outputs.version }} regex: false + - name: Find and Replace Release 0.x release + if: ${{ startsWith(steps.latest_version.outputs.version, '0.') }} + uses: jacobtomlinson/gha-find-replace@2.0.0 + with: + find: "coffea==*" + replace: "coffea==${{ steps.latest_version.outputs.version }}" + include: "coffea-base/**" + - name: Find and Replace Release Calver release if: ${{ startsWith(steps.latest_version.outputs.version, '20') }} uses: jacobtomlinson/gha-find-replace@2.0.0 @@ -41,6 +49,14 @@ jobs: replace: ${{ steps.latest_version.outputs.version }} regex: false + - name: Find and Replace Release Calver release + if: ${{ startsWith(steps.latest_version.outputs.version, '0.') }} + uses: jacobtomlinson/gha-find-replace@2.0.0 + with: + find: "coffea==*" + replace: "coffea==${{ steps.latest_version.outputs.version }}" + include: "coffea-dask/**" + - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: