Skip to content

Commit

Permalink
Add shell: bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ckundo committed Jan 2, 2024
1 parent 3edaf3a commit 78f1795
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions .github/workflows/build_addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,38 @@ jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt
- name: Add requirements.txt
shell: bash
run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7.9
cache: 'pip'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7.9
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r addon/globalPlugins/vendor/requirements.txt -t addon/globalPlugins/vendor
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements.txt
pip install -r addon/globalPlugins/vendor/requirements.txt -t addon/globalPlugins/vendor
- name: Code checks
run: export SKIP=no-commit-to-branch; pre-commit run --all
- name: Code checks
shell: bash
run: export SKIP=no-commit-to-branch; pre-commit run --all

- name: building addon
run: scons
- name: building addon
shell: bash
run: scons

- uses: actions/upload-artifact@v3
with:
name: packaged_addon
path: ./*.nvda-addon
- uses: actions/upload-artifact@v3
with:
name: packaged_addon
path: ./*.nvda-addon

upload_release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 78f1795

Please sign in to comment.