From 1293940f781368b78564972ec68695d1afc0b31f Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 25 Aug 2023 15:45:57 +0200 Subject: [PATCH] Main pipeline now updates the branches in the module [skip ci] --- .github/workflows/main-selfhosted.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml index 47381d0d..7cd7e44f 100644 --- a/.github/workflows/main-selfhosted.yml +++ b/.github/workflows/main-selfhosted.yml @@ -53,6 +53,11 @@ jobs: runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/22.08 /bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh # Run pre-build automation tasks + - name: Setting branch in the manifest + run: | + sed -i "s/branch: THISBRANCH/branch: $(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)"