Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
eemmiillyy committed Jul 24, 2024
1 parent 378e09b commit 64daeee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 5 additions & 2 deletions .github/workflows/update-homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 64daeee

Please sign in to comment.