Skip to content

Commit

Permalink
CI: Freeze Mycroft core version (#109)
Browse files Browse the repository at this point in the history
* CI - Try to pre-creat config

* CI: Use fixed branch of mycroft core
  • Loading branch information
Tony763 committed Dec 9, 2022
1 parent afc90ab commit c8853f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c8853f9

Please sign in to comment.