mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
🔐 Move HOMEBREW_GITHUB_API_TOKEN to mas formula step
This commit is contained in:
parent
8eeb204ad7
commit
7bde8fa7e6
1 changed files with 1 additions and 6 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -228,12 +228,6 @@ jobs:
|
|||
run: |
|
||||
script/bootstrap -f
|
||||
|
||||
- name: 🔐 Configure HOMEBREW_GITHUB_API_TOKEN
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||
run: |
|
||||
export HOMEBREW_GITHUB_API_TOKEN=your_token_here >>/Users/runner/.bash_profile
|
||||
|
||||
- name: 🔧 Configure Git Author
|
||||
run: |
|
||||
git config --global user.name 'masclibot'
|
||||
|
@ -242,6 +236,7 @@ jobs:
|
|||
- name: 🍺 Update Homebrew mas formula
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||
DRY_RUN: ${{ needs.start.outputs.dry_run }}
|
||||
MAS_VERSION: ${{ needs.start.outputs.mas_version }}
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue