From 21135c6d71d9f695327563d96b6c6c207de29f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Mon, 18 Nov 2024 05:17:46 +0100 Subject: [PATCH] Fix error in Release workflow of CI --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 00608c2..17ed1f3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,6 +36,14 @@ jobs: needs: get-releases if: needs.get-releases.outputs.si != needs.get-releases.outputs.lib steps: + - uses: actions/checkout@v4 + with: + # Ensure we are checked out on the develop branch + ref: develop + # Ensure custom credentials are used when pushing + persist-credentials: false + # Fetch everything so we can checkout master + fetch-depth: 0 - name: Bump version run: | sed -i 's/"version": "${{ needs.get-releases.outputs.lib }}",/"version": "${{ needs.get-releases.outputs.si }}",/' package.json