Outsurcing pipeline commands in bash scripts [skip ci]

This commit is contained in:
XargonWan 2023-09-26 09:09:01 +02:00
parent 6b4b171219
commit c112b5370b
2 changed files with 8 additions and 1 deletions

View file

@ -55,7 +55,7 @@ jobs:
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
- name: "Adding flatpak portal for automated updates (cooker only)"
run: sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/cooker-flatpak-portal-add.sh"
# - name: "Updating release notes in appdata"
# run: "automation_tools/appdata_management.sh"

View file

@ -0,0 +1,7 @@
#!/bin/bash
# COOKER ONLY
# This script is adding the update portal (permission) to the ooker flatpak.
# This is ran by the cooker pipeline.
sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml