From a23f837f3af60f279790f8bd15bf8cd10df16c1f Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 31 Aug 2023 11:07:14 +0200 Subject: [PATCH] main pipeline is now checking the version [skip ci] --- .github/workflows/main-selfhosted.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml index 41792fa6..7647f6ef 100644 --- a/.github/workflows/main-selfhosted.yml +++ b/.github/workflows/main-selfhosted.yml @@ -47,15 +47,9 @@ jobs: id: read_manifest run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)" - - name: Check VERSION + - name: Check versions (main only) id: check_version_string - run: | - if [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=THISBRANCH"* ]] || [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=main"* ]]; then - echo "Version string is present, proceeding." - else - echo "Error: You forgot to specify the version." - exit 1 - fi + run: "automation_tools/version_checker.sh" - name: "Build flatpak: download only" id: "flatpak-download"