Update action versions
This commit is contained in:
parent
478b164bba
commit
a403315421
2 changed files with 7 additions and 7 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -22,19 +22,19 @@ jobs:
|
||||||
awk -F '\/' '{ print tolower($2) }' |
|
awk -F '\/' '{ print tolower($2) }' |
|
||||||
tr '_' '-'
|
tr '_' '-'
|
||||||
)
|
)
|
||||||
- name: Set up Python 3.7
|
- name: Set up Python 3.x
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: '3.x'
|
||||||
- name: Versions
|
- name: Versions
|
||||||
run: |
|
run: |
|
||||||
python3 --version
|
python3 --version
|
||||||
- name: Checkout Current Repo
|
- name: Checkout Current Repo
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Checkout tools repo
|
- name: Checkout tools repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: adafruit/actions-ci-circuitpython-libs
|
repository: adafruit/actions-ci-circuitpython-libs
|
||||||
path: actions-ci
|
path: actions-ci
|
||||||
|
|
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -12,14 +12,14 @@ jobs:
|
||||||
upload-pypi:
|
upload-pypi:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Check For setup.py
|
- name: Check For setup.py
|
||||||
id: need-pypi
|
id: need-pypi
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=setup-py::$( find . -wholename './setup.py' )
|
echo ::set-output name=setup-py::$( find . -wholename './setup.py' )
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
|
if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue