Skip to content

Commit

Permalink
Merge pull request #396 from LerianStudio/fix/workflow-bump-formula
Browse files Browse the repository at this point in the history
fix: Add 'workflow_run' for bump_formula and update dependencies
  • Loading branch information
MartinezAvellan authored Dec 18, 2024
2 parents f0c8a39 + eb7c743 commit e562d6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/midaz-update-repos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: "Midaz Update Submodule on midaz-full and Swagger on Git Pages"

on:
workflow_run:
workflows:
- "Release Pipeline"
types:
- completed
push:
branches:
- main
Expand Down Expand Up @@ -150,12 +155,10 @@ jobs:
fi
bump_formula:
runs-on: ubuntu-latest
needs: build
runs-on: ubuntu-24.04
steps:
- name: Update Homebrew Formula
uses: dawidd6/action-homebrew-bump-formula@v3
uses: dawidd6/action-homebrew-bump-formula@v4
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
formula: mdz
tag: ${{ needs.build.outputs.binver }}
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ jobs:
go-version: '1.23'
cache: false

- name: Load Environment Variables
run: |
cd ./components/mdz/
set -a
[ -f .env.example ] && source .env.example
set +a
cd -
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ nfpms:
- id: packages
license: Apache-2.0 license
maintainer: Lerian Studio Technologies <https://github.com/LerianStudio/>
package_name: azion
homepage: https://github.com/maxwelbm/mdz
package_name: mdz
homepage: https://github.com/LerianStudio/midaz
bindir: /usr/local/bin
formats:
- apk
Expand Down

0 comments on commit e562d6c

Please sign in to comment.