ci(homebrew): release to tap with GitHub release (#4091)
This commit is contained in:
parent
77edcd047f
commit
6ab24491ed
2 changed files with 33 additions and 12 deletions
19
.github/workflows/ci-homebrew.yml
vendored
19
.github/workflows/ci-homebrew.yml
vendored
|
|
@ -159,6 +159,7 @@ jobs:
|
|||
|
||||
- name: Setup python
|
||||
id: python
|
||||
if: false
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
|
@ -220,16 +221,10 @@ jobs:
|
|||
echo "New formula:"
|
||||
cat $formula_file
|
||||
|
||||
- name: Upload Homebrew Beta Formula
|
||||
if: >-
|
||||
github.repository_owner == 'LizardByte' &&
|
||||
matrix.release &&
|
||||
inputs.publish_release == 'true'
|
||||
uses: LizardByte/actions/actions/release_homebrew@v2025.715.25226
|
||||
- name: Upload Artifacts (Beta)
|
||||
if: matrix.release
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
formula_file: ${{ github.workspace }}/homebrew/sunshine-beta.rb
|
||||
git_email: ${{ secrets.GIT_EMAIL }}
|
||||
git_username: ${{ secrets.GIT_USERNAME }}
|
||||
publish: true
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
validate: false
|
||||
name: beta-Homebrew
|
||||
path: homebrew/
|
||||
if-no-files-found: error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue