Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Feb 14, 2024
1 parent 0097059 commit 46f117c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: macos-latest
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
GITHUB_BEARER_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_BEARER_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}

steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
needs: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_BEARER_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}

steps:
- name: Checkout
Expand All @@ -82,6 +81,8 @@ jobs:

- name: Deploy Homebrew
run: dart run grinder pkg-homebrew-update
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}



Expand Down
2 changes: 1 addition & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main(List<String> args) {
pkg.githubUser.value = owner;
pkg.githubRepo.value = 'leoafarias/fvm';
pkg.homebrewRepo.value = 'leoafarias/homebrew-fvm';
pkg.githubBearerToken.value = Platform.environment['GITHUB_BEARER_TOKEN'];
pkg.githubBearerToken.value = Platform.environment['GITHUB_TOKEN'];
pkg.homebrewCreateVersionedFormula.value = true;

pkg.addAllTasks();
Expand Down

0 comments on commit 46f117c

Please sign in to comment.