fix cp error #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
test_on_macos: | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Test formula | |
shell: bash | |
run: | | |
mkdir -p $(brew --repo)/Library/Taps/buty4649/homebrew-tap | |
cp -Rp . $(brew --repo)/Library/Taps/buty4649/homebrew-tap | |
brew install buty4649/homebrew-tap/rf | |
- name: Test rf | |
run: rf --version | |
test_on_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Test formula | |
run: brew install buty4649/homebrew-tap/rf | |
- name: Test rf | |
run: rf --version |