mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-06 22:47:35 -06:00
✅ Update Actions & Python versions (#1013)
This commit is contained in:
parent
a45c966e5d
commit
02475b8b7e
2 changed files with 7 additions and 7 deletions
12
.github/workflows/build-pr.yml
vendored
12
.github/workflows/build-pr.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the PR
|
- name: Check out the PR
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Get the list of directories containing changed config files:
|
# Get the list of directories containing changed config files:
|
||||||
- name: Get changed directories
|
- name: Get changed directories
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
|
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
|
@ -52,15 +52,15 @@ jobs:
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Cache PlatformIO
|
- name: Cache PlatformIO
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.platformio
|
path: ~/.platformio
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||||
|
|
||||||
- name: Select Python 3.7
|
- name: Select Python 3.9
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
|
python-version: '3.9' # Version range or exact version of a Python version to use, using semvers version range syntax.
|
||||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||||
|
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
|
|
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# For each directory containing a changed config file, copy the .h files and build the code:
|
# For each directory containing a changed config file, copy the .h files and build the code:
|
||||||
- name: Deploy bugfix-2.1.x
|
- name: Deploy bugfix-2.1.x
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue