Skip to content

Commit 8039704

Browse files
authored
Merge pull request #278 from tekktrik/main
Upgrade actions, fix output checking
2 parents c318255 + d4af29e commit 8039704

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919
tr '_' '-'
2020
)
2121
- name: Set up Python 3.7
22-
uses: actions/setup-python@v1
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: 3.7
2525
- name: Versions
2626
run: |
2727
python3 --version
2828
- name: Checkout Current Repo
29-
uses: actions/checkout@v1
29+
uses: actions/checkout@v3
3030
with:
3131
submodules: true
3232
- name: Checkout tools repo
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
3434
with:
3535
repository: adafruit/actions-ci-circuitpython-libs
3636
path: actions-ci

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
upload-pypi:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v3
1616
- name: Check For pyproject.toml
1717
id: need-pypi
1818
run: |
1919
echo pyproject-toml=$( find . -wholename './pyproject.toml' ) >> $GITHUB_OUTPUT
2020
- name: Set up Python
2121
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
22-
uses: actions/setup-python@v1
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: '3.x'
2525
- name: Install dependencies
26-
if: contains(steps.need-pypi.outputs.pyproject.toml, 'pyproject.toml')
26+
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
2727
run: |
28-
python -m pip install --upgrade pip build
28+
python -m pip install --upgrade pip
2929
pip install --upgrade build twine
3030
- name: Build and publish
3131
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')

0 commit comments

Comments
 (0)