mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
🔥 Remove subdirs to get ready for symlink
This commit is contained in:
parent
7603c30da0
commit
cb6f17dbd9
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -151,12 +151,15 @@ jobs:
|
|||
git config --global user.name 'github-actions[bot]'
|
||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
|
||||
# The mas-cli/homebrew-tap repo needs to be checked out using the current
|
||||
# GitHub credentials in order to open a PR. However, the `brew tap` command
|
||||
# must be run for Homebrew to see the dir as a tap.
|
||||
# This is necessary to avoid the following error:
|
||||
# Error: No available formula or cask with the name "mas-cli/tap/mas".
|
||||
- name: 🚰 Checkout mas tap
|
||||
run: |
|
||||
brew tap mas-cli/tap
|
||||
rm -rf /opt/homebrew/Library/Taps/mas-cli/homebrew-tap
|
||||
rm -rf /opt/homebrew/Library/Taps
|
||||
ln -s /opt/homebrew/Library/Taps Taps
|
||||
|
||||
# Checkout with a token for write access
|
||||
|
|
Loading…
Add table
Reference in a new issue