diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index ce6c69efa9a..dabbbceed91 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -349,7 +349,10 @@ jobs: env: VERSION: ${{ needs.configure.outputs.version }} steps: + - name: Download source code archive + run: curl -fsSL "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/archive/${VERSION}.tar.gz" -o "${VERSION}.tar.gz" - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@2eb78889a50ba021d744837934f1af2d8c4458ec - name: Create version bump PR - run: brew bump-formula-pr k6 --tag="$VERSION" --revision="$GITHUB_SHA" + run: brew bump-formula-pr k6 --url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/archive/${VERSION}.tar.gz" \ + --sha256="$(shasum -a 256 ${VERSION}.tar.gz | cut -d' ' -f1)"