ci(flatpak): sync with flathub (#3259)

This commit is contained in:
ReenigneArcher
2024-10-04 21:47:04 -04:00
committed by GitHub
parent e90b71ce62
commit 0107ca44d7
24 changed files with 415 additions and 102 deletions

View File

@@ -9,7 +9,7 @@ name: Update Homebrew release
on:
release:
types: [created, edited]
types: [released]
concurrency:
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
@@ -18,14 +18,13 @@ concurrency:
jobs:
update-homebrew-release:
if: >-
github.repository_owner == 'LizardByte' &&
!github.event.release.draft && !github.event.release.prerelease
github.repository_owner == 'LizardByte'
runs-on: ubuntu-latest
steps:
- name: Check if Homebrew repo
env:
TOPIC: homebrew-pkg
id: check
id: check-label
uses: actions/github-script@v7
with:
script: |
@@ -46,7 +45,7 @@ jobs:
- name: Download release asset
id: download
if: >-
steps.check.outputs.hasTopic == 'true'
steps.check-label.outputs.hasTopic == 'true'
uses: robinraju/release-downloader@v1.11
with:
repository: "${{ github.repository }}"
@@ -59,7 +58,7 @@ jobs:
- name: Publish Homebrew Formula
if: >-
steps.check.outputs.hasTopic == 'true' &&
steps.check-label.outputs.hasTopic == 'true' &&
fromJson(steps.download.outputs.downloaded_files)[0]
uses: LizardByte/homebrew-release-action@v2024.919.145818
with: