pipeline: wrong substitution in autmation tools, falling back to the old method

This commit is contained in:
XargonWan 2023-08-30 17:26:16 +02:00
parent fa21df195c
commit 88996afd08
3 changed files with 13 additions and 1 deletions

View file

@ -56,6 +56,12 @@ jobs:
- name: Run pre-build automation tasks
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
# remove me when the automations tool substitution can do this
- name: Set branch in the manifest
run: |
sed -i "s/THISBRANCH/$(git rev-parse --abbrev-ref HEAD)/g" net.retrodeck.retrodeck.yml
echo "Branch name is: $(git rev-parse --abbrev-ref HEAD)"
- name: "Build flatpak: download only"
id: "flatpak-download"
run: |

View file

@ -45,6 +45,12 @@ jobs:
- name: Run pre-build automation tasks
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
# remove me when the automations tool substitution can do this
- name: Set branch in the manifest
run: |
sed -i "s/THISBRANCH/$(git rev-parse --abbrev-ref HEAD)/g" net.retrodeck.retrodeck.yml
echo "Branch name is: $(git rev-parse --abbrev-ref HEAD)"
- name: Read manifest content
id: read_manifest
run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)"

View file

@ -9,4 +9,4 @@ hash^MSXBIOSHASHPLACEHOLDER^http://bluemsx.msxblue.com/rel_download/blueMSXv282f
hash^XEMUHDDHASHPLACEHOLDER^https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip
latestcommit^UNIVERSALDYNAMICINPUTCOMMITPLACEHOLDER^https://github.com/Venomalia/UniversalDynamicInput^main
outside_info^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid
outside_info^THISBRANCH^"$(git rev-parse --abbrev-ref HEAD)"
#outside_info^THISBRANCH^"$(git rev-parse --abbrev-ref HEAD)"