From 3389c08af3d0ea7df16f87a63cc302ea638ea077 Mon Sep 17 00:00:00 2001 From: Eliezer Graber Date: Fri, 21 Jan 2022 16:36:58 -0500 Subject: [PATCH] Change branch to master before bumping version --- .github/workflows/PublishRelease.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/PublishRelease.yml b/.github/workflows/PublishRelease.yml index 4539640..87dbb48 100644 --- a/.github/workflows/PublishRelease.yml +++ b/.github/workflows/PublishRelease.yml @@ -77,6 +77,11 @@ jobs: tag: ${{ env.RELEASE_VERSION }} token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v2.4.0 + with: + ref: 'master' + token: ${{ secrets.PUSH_PAT }} + - name: Prepare next dev version id: prepare_next_dev run: sed -i -e 's/${{ env.CURRENT_VERSION }}/${{ env.NEXT_VERSION }}/g' gradle.properties