mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
CI/Flatpak: Push to Flathub
This commit is contained in:
parent
c015039a3c
commit
0a63bec65c
21
.github/workflows/rolling-release.yml
vendored
21
.github/workflows/rolling-release.yml
vendored
|
@ -315,17 +315,24 @@ jobs:
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
build-bundle: true
|
build-bundle: true
|
||||||
verbose: true
|
verbose: true
|
||||||
#mirror-screenshots-url: https://dl.flathub.org/media
|
mirror-screenshots-url: https://dl.flathub.org/media
|
||||||
#branch: ${{ inputs.branch }}
|
branch: stable
|
||||||
branch: master
|
|
||||||
cache: true
|
cache: true
|
||||||
restore-cache: true
|
restore-cache: true
|
||||||
cache-key: flatpak-x64-${{ hashFiles('scripts/flatpak/**/*.json') }}
|
cache-key: flatpak-x64-${{ hashFiles('scripts/flatpak/**/*.json') }}
|
||||||
|
|
||||||
# fails due to screenshots..
|
- name: Push to Flathub stable
|
||||||
#- name: Validate build
|
if: github.ref == 'refs/heads/dev'
|
||||||
# run: |
|
uses: flathub-infra/flatpak-github-actions/flat-manager@23796715b3dfa4c86ddf50cf29c3cc8b3c82dca8
|
||||||
# flatpak-builder-lint repo repo
|
with:
|
||||||
|
flat-manager-url: https://hub.flathub.org/
|
||||||
|
repository: stable
|
||||||
|
token: ${{ secrets.FLATHUB_STABLE_TOKEN }}
|
||||||
|
build-log-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|
||||||
|
- name: Validate build
|
||||||
|
run: |
|
||||||
|
flatpak-builder-lint repo repo
|
||||||
|
|
||||||
- name: Upload Flatpak
|
- name: Upload Flatpak
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
|
|
@ -20,12 +20,17 @@
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image>https://raw.githubusercontent.com/stenzek/duckstation/md-images/main-qt.png</image>
|
<image>https://raw.githubusercontent.com/stenzek/duckstation/md-images/main-qt.png</image>
|
||||||
|
<caption>Desktop Interface</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<image>https://raw.githubusercontent.com/stenzek/duckstation/md-images/bigduck.png</image>
|
<image>https://raw.githubusercontent.com/stenzek/duckstation/md-images/bigduck.png</image>
|
||||||
|
<caption>Big Picture Mode Interface</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="@GIT_VERSION@" date="@GIT_DATE@" />
|
<release version="@GIT_VERSION@" date="@GIT_DATE@" />
|
||||||
</releases>
|
</releases>
|
||||||
|
<custom>
|
||||||
|
<value key="flathub::manifest">https://raw.githubusercontent.com/stenzek/duckstation/@GIT_HASH@/scripts/flatpak/org.duckstation.DuckStation.json</value>
|
||||||
|
</custom>
|
||||||
</component>
|
</component>
|
||||||
|
|
Loading…
Reference in a new issue