mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
CI: Update flatpak-github-actions to get upstream improvement
- Bump action dependencies [1] - Fix caching from the bump [2] - Fix build-bundle option [3] [1]: https://github.com/flatpak/flatpak-github-actions/commit/eacf60ac2fb8ac592088381a7f596e450ac8b899 [2]: https://github.com/flatpak/flatpak-github-actions/commit/1283416d7c0462e052ab0685d9444a7a48bfff3b [3]: https://github.com/flatpak/flatpak-github-actions/commit/b9a7d065ea8615f8071fdd128b9cf7d45b6bc361
This commit is contained in:
@@ -287,7 +287,7 @@ jobs:
|
||||
echo "cacheKey=${cache_key}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build Flatpak Manifest 🧾
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@1283416d7c0462e052ab0685d9444a7a48bfff3b
|
||||
with:
|
||||
build-bundle: ${{ fromJSON(needs.check-event.outputs.package) }}
|
||||
bundle: obs-studio-flatpak-${{ needs.check-event.outputs.commitHash }}.flatpak
|
||||
|
||||
@@ -99,7 +99,7 @@ jobs:
|
||||
echo "commitHash=${GITHUB_SHA:0:9}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build Flatpak Manifest
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@1283416d7c0462e052ab0685d9444a7a48bfff3b
|
||||
with:
|
||||
bundle: obs-studio-${{ steps.setup.outputs.commitHash }}.flatpak
|
||||
manifest-path: ${{ github.workspace }}/build-aux/com.obsproject.Studio.json
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
ostree commit --repo=repo --canonical-permissions --branch=screenshots/x86_64 flatpak_app/screenshots
|
||||
|
||||
- name: Publish to Flathub Beta
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@v6.1
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@1283416d7c0462e052ab0685d9444a7a48bfff3b
|
||||
if: ${{ matrix.branch == 'beta' }}
|
||||
with:
|
||||
flat-manager-url: https://hub.flathub.org/
|
||||
@@ -135,7 +135,7 @@ jobs:
|
||||
token: ${{ secrets.FLATHUB_BETA_TOKEN }}
|
||||
|
||||
- name: Publish to Flathub
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@v6.1
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@1283416d7c0462e052ab0685d9444a7a48bfff3b
|
||||
if: ${{ matrix.branch == 'stable' }}
|
||||
with:
|
||||
flat-manager-url: https://hub.flathub.org/
|
||||
|
||||
Reference in New Issue
Block a user