mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
ci: update actions (#4464)
* ci: update actions * ci: update actions * ci: update actions * ci: use py3.9 for docs
This commit is contained in:
14
.github/workflows/docs.yml
vendored
14
.github/workflows/docs.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Docs
|
name: Documentation
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
@ -7,13 +7,13 @@ jobs:
|
|||||||
name: Build Docs
|
name: Build Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: 3.9
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Save artifact
|
- name: Save artifact
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: ./docs.tar.gz
|
path: ./docs.tar.gz
|
||||||
@ -57,7 +57,7 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
- name: Unpack artifact
|
- name: Unpack artifact
|
||||||
@ -78,7 +78,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Checkout latest Docs
|
- name: Checkout latest Docs
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: ${{ env.DOCS_REPO }}
|
repository: ${{ env.DOCS_REPO }}
|
||||||
path: ${{ env.DOCS_DIR }}
|
path: ${{ env.DOCS_DIR }}
|
||||||
|
2
.github/workflows/examples.yml
vendored
2
.github/workflows/examples.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
|
|
||||||
|
4
.github/workflows/projects.yml
vendored
4
.github/workflows/projects.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
run: pip install -U .
|
run: pip install -U .
|
||||||
|
|
||||||
- name: Check out ${{ matrix.project.repository }}
|
- name: Check out ${{ matrix.project.repository }}
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
repository: ${{ matrix.project.repository }}
|
repository: ${{ matrix.project.repository }}
|
||||||
|
Reference in New Issue
Block a user