From c8853f9e471eb629341ce6440cc436a34724c5fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=C3=ADn=20Skala?= Date: Fri, 9 Dec 2022 17:46:43 +0100 Subject: [PATCH] CI: Freeze Mycroft core version (#109) * CI - Try to pre-creat config * CI: Use fixed branch of mycroft core --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dda96ad0..4c7efcd5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,7 @@ jobs: MYCROFT_VENV: /opt/mycroft-core/.venv/bin/activate HA_VERSION: 2021.9 HA_VIRTUAL_VERSION: v0.7.2 + MYCROFT_CORE_BRANCH: release/v21.2.2 steps: # Use standard checkout if workflow triggered by push @@ -84,10 +85,10 @@ jobs: - name: Mycroft - install Mycroft run: | sudo apt update - git clone https://github.com/MycroftAI/mycroft-core.git /opt/mycroft-core + git clone --depth 1 --branch ${{ env.MYCROFT_CORE_BRANCH }} https://github.com/MycroftAI/mycroft-core.git /opt/mycroft-core ls /opt chmod +x /opt/mycroft-core/dev_setup.sh - /opt/mycroft-core/dev_setup.sh --allow-root -ci -sm + /opt/mycroft-core/dev_setup.sh --allow-root -sm source ${{ env.MYCROFT_VENV }} /opt/mycroft-core/bin/mycroft-pip install -r ${{ github.workspace }}/requirements.txt /opt/mycroft-core/bin/mycroft-config set tts.module dummy