mirror of
https://github.com/RetroDECK/net.shadps4.shadPS4.git
synced 2025-01-19 04:35:39 +00:00
Setup Flatpak External Data Checker (#1)
Co-authored-by: Florian Piesche <florian@yellowkeycard.net> Co-authored-by: Jarred Wilson <jarred.wilson12@gmail.com>
This commit is contained in:
parent
87ec3a63a2
commit
cfea2b5655
24
.github/workflows/beta.yaml
vendored
Normal file
24
.github/workflows/beta.yaml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Check for updates
|
||||
on:
|
||||
schedule: # for scheduling to work this file must be in the default branch
|
||||
- cron: "0 0 * * *" # run daily at 00:00
|
||||
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
|
||||
|
||||
jobs:
|
||||
flatpak-external-data-checker:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: beta
|
||||
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
|
||||
env:
|
||||
GIT_AUTHOR_NAME: Flatpak External Data Checker
|
||||
GIT_COMMITTER_NAME: Flatpak External Data Checker
|
||||
# email sets "github-actions[bot]" as commit author, see https://github.community/t/github-actions-bot-email-address/17204/6
|
||||
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
args: --update --never-fork net.shadps4.shadPS4.yaml
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"automerge-flathubbot-prs": false,
|
||||
"disable-external-data-checker": false,
|
||||
"only-arches": [
|
||||
"x86_64"
|
||||
]
|
||||
|
|
|
@ -80,6 +80,7 @@ modules:
|
|||
- type: git
|
||||
url: https://github.com/shadps4-emu/shadPS4
|
||||
tag: v.0.5.0
|
||||
commit: a1a98966eee07e7ecf3a5e3836b5f2ecde5664b0
|
||||
x-checker-data:
|
||||
type: json
|
||||
url: https://api.github.com/repos/shadps4-emu/shadps4/releases/latest
|
||||
|
@ -88,5 +89,5 @@ modules:
|
|||
# Use updated metainfo.xml with inline releases from main branch https://github.com/flatpak/flatpak/issues/6057
|
||||
- type: file
|
||||
url: https://raw.githubusercontent.com/shadps4-emu/shadPS4/af8c748e9cb3edc78a3f0e189fbba41bfdba0786/dist/net.shadps4.shadPS4.metainfo.xml
|
||||
sha256: "b3c45ef60748c7f791ef932a461b86990b380ca527d92d5474d65e3620297566"
|
||||
sha256: b3c45ef60748c7f791ef932a461b86990b380ca527d92d5474d65e3620297566
|
||||
dest: dist
|
||||
|
|
Loading…
Reference in a new issue