fix(ci): add sudo to ci apt-get commands

This commit is contained in:
Thomas Dupont 2022-08-18 11:08:11 +02:00
parent 18f13285ec
commit fd19d4c088
No known key found for this signature in database
GPG Key ID: 4480942BA87BBA24

View File

@ -160,7 +160,7 @@ jobs:
steps: steps:
- -
name: Install jq name: Install jq
run: apt-get update && apt-get install -y jq run: sudo apt-get update && sudo apt-get install -y jq
- -
name: Checkout name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -338,7 +338,7 @@ jobs:
python-version: 3.x python-version: 3.x
- run: pip install mkdocs-material - run: pip install mkdocs-material
- run: pip install mike - run: pip install mike
- run: apt-get update && apt-get install -y jq - run: sudo apt-get update && sudo apt-get install -y jq
- run: git config user.name ci-bot - run: git config user.name ci-bot
- run: git config user.email ci-bot@example.com - run: git config user.email ci-bot@example.com
- name: Extract major version from package.json - name: Extract major version from package.json