diff --git a/.github/workflows/check-client-version.yml b/.github/workflows/check-client-version.yml index 2befd3e..27ba08d 100644 --- a/.github/workflows/check-client-version.yml +++ b/.github/workflows/check-client-version.yml @@ -7,11 +7,14 @@ name: Client for Latest Release Version jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + branch: [dev, v4] steps: - name: Checkout code uses: actions/checkout@v3 with: - ref: dev + ref: ${{ matrix.branch }} - name: Check Client Version run: | @@ -28,6 +31,6 @@ jobs: git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" git add . git commit -m "Update Client Version to ${{ env.version }}" - git push origin pr@dev@upgrade_client_${{ env.version }} + git push origin pr@${{ matrix.branch }}@upgrade_client_${{ env.version }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}