From ddca8152d9f3f231dc431ebc18cd0906cf663921 Mon Sep 17 00:00:00 2001 From: wphan Date: Wed, 2 Oct 2024 17:27:16 -0700 Subject: [PATCH] update deploy-on-sdk-update.yml --- .github/workflows/deploy-on-sdk-update.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-on-sdk-update.yml b/.github/workflows/deploy-on-sdk-update.yml index 8bdbcc81..ebbc2be6 100644 --- a/.github/workflows/deploy-on-sdk-update.yml +++ b/.github/workflows/deploy-on-sdk-update.yml @@ -14,13 +14,11 @@ jobs: - name: Bump protocol sdk run: | - cd protocol - git pull --rebase origin master - cd .. + git submodule update --remote git config user.name "GitHub Actions" git config user.email 41898282+github-actions[bot]@users.noreply.github.com git add protocol - git commit --allow-empty -m "Bumping protocol sdk to ${{ github.event.client_payload.sdk-version }}" + git commit --allow-empty -m "Bumping protocol sdk to ${{ github.event.client_payload.version }}" git push - name: Get latest commit hash @@ -56,4 +54,4 @@ jobs: }}" env: GH_PAT: ${{ secrets.GH_PAT }} - VERSION: ${{ github.event.client_payload.sdk-version }} \ No newline at end of file + VERSION: ${{ github.event.client_payload.version }} \ No newline at end of file