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 2e38321 commit ed5a53b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ 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: '1'
version: '2'
mac_intel_sha: '3'
mac_arm_sha: '4'
linux_sha: '5'
linux_arm_sha: '6'
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 }}
secrets: inherit
3 changes: 2 additions & 1 deletion .github/workflows/update-homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ jobs:
- name: commit changes
run: |
status="Update dependencies to version ${{ inputs.version }}"
git status
git commit -a -m "Add changes"
git commit -a -m "$status"
- name: Push changes
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit ed5a53b

Please sign in to comment.