Upgrade GHA workflow

This commit is contained in:
Aarni Koskela
2023-09-04 12:09:29 +03:00
parent edc84f4e89
commit ba95db768d

View File

@@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
cache: pip
- name: Install dependencies
run: python -m pip install -r requirements.txt
@@ -26,7 +26,7 @@ jobs:
run: make -j3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "20"
cache: yarn
cache-dependency-path: analysaattori/yarn.lock
- run: yarn
@@ -38,7 +38,7 @@ jobs:
- run: cp -a analysaattori/dist ./out/analysaattori
- run: ls -laR out
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.0.0
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: out