Skip to content

Commit 0a1e291

Browse files
committed
⬆️ Upgrade the actions version to fix release
1 parent 46b06ad commit 0a1e291

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/release.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,25 @@ jobs:
88
name: 🔨 Build distribution
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
14-
- name: 🏗 Set up Python 3.8
15-
uses: actions/setup-python@v1
14+
- name: 🏗 Set up Python 3.10
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: 3.8
17+
python-version: "3.10"
1818
- name: 🏗 Install build dependencies
1919
run: |
20-
python -m pip install wheel octoprint --user
20+
python -m pip install wheel --user
21+
python -m pip install octoprint
2122
- name: 🔨 Build a source zip
2223
run: |
2324
python setup.py sdist --formats=zip
2425
- name: 🚚 rename to sdist.zip
2526
run: |
2627
mv dist/Marlin\ EEPROM\ editor-*.zip dist/sdist.zip
2728
- name: ⬆ Upload build result
28-
uses: actions/upload-artifact@v1
29+
uses: actions/upload-artifact@v2
2930
with:
3031
name: dist
3132
path: dist
@@ -35,15 +36,15 @@ jobs:
3536
needs: build
3637
strategy:
3738
matrix:
38-
python: ["2.7", "3.7", "3.8"]
39+
python: ["3.7", "3.9", "3.11"]
3940
runs-on: ubuntu-latest
4041
steps:
4142
- name: 🏗 Set up Python ${{ matrix.python }}
42-
uses: actions/setup-python@v1
43+
uses: actions/setup-python@v4
4344
with:
4445
python-version: ${{ matrix.python }}
4546
- name: ⬇ Download build result
46-
uses: actions/download-artifact@v1
47+
uses: actions/download-artifact@v3
4748
with:
4849
name: dist
4950
path: dist
@@ -63,7 +64,7 @@ jobs:
6364
- test-install
6465
steps:
6566
- name: ⬇ Download build result
66-
uses: actions/download-artifact@v1
67+
uses: actions/download-artifact@v3
6768
with:
6869
name: dist
6970
path: dist
@@ -72,7 +73,7 @@ jobs:
7273
cp dist/sdist.zip release.zip
7374
- name: 🥅 Catch release ID
7475
id: get_release
75-
uses: bruceadams/get-release@v1.2.2
76+
uses: bruceadams/get-release@v1.3.2
7677
env:
7778
GITHUB_TOKEN: ${{ github.token }}
7879
- name: 📦 Attach release artifact

0 commit comments

Comments
 (0)