diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 0204ed0ea..e440a18c9 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -6,22 +6,13 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: - publish-cli-assets: - name: Publish CLI assets Test - uses: ./.github/workflows/release-cli-assets.yml - with: - publishedPackages: '[{"name": "@xata.io/cli", "version": "0.15.15"}]' - commitSha: ${{ github.sha }} - secrets: inherit - update-homebrew: - needs: [publish-cli-assets] uses: ./.github/workflows/update-homebrew.yml with: - commit_sha: ${{ github.sha }} - version: ${{ needs.publish-cli-assets.outputs.version }} - mac_intel_sha: ${{ needs.publish-cli-assets.outputs.mac_intel_sha }} - mac_arm_sha: ${{ needs.publish-cli-assets.outputs.mac_arm_sha }} - linux_sha: ${{ needs.publish-cli-assets.outputs.linux_sha }} - linux_arm_sha: ${{ needs.publish-cli-assets.outputs.linux_arm_sha }} + commit_sha: '1' + version: '2' + mac_intel_sha: '3' + mac_arm_sha: '4' + linux_sha: '5' + linux_arm_sha: '6' secrets: inherit diff --git a/.github/workflows/update-homebrew.yml b/.github/workflows/update-homebrew.yml index 0f6794d01..a46ddfec5 100644 --- a/.github/workflows/update-homebrew.yml +++ b/.github/workflows/update-homebrew.yml @@ -49,7 +49,9 @@ jobs: - name: Read template file id: gettemplate - run: echo "template=$(cat ./Template/xata.rb)" >> $GITHUB_OUTPUT + run: | + template="$(cat ./Template/xata.rb)" + "$template" >> $GITHUB_OUTPUT - name: Update Homebrew Formula using template variables id: updateformula @@ -80,7 +82,8 @@ jobs: - name: Read formula file id: getformula - run: echo ${{ steps.updateformula.outputs.formula }} + run: | + echo ${{ steps.updateformula.outputs.formula }} - name: commit changes run: |