Skip to content

Commit 7f6f039

Browse files
committed
👷 🐛 Fix release workflow
1 parent 61ef473 commit 7f6f039

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: 🔨 Build a source zip
2222
run: |
2323
python setup.py sdist --formats=zip
24+
- name: 🚚 rename to sdist.zip
25+
run: |
26+
mv dist/Marlin\ EEPROM\ editor-*.zip dist/sdist.zip
2427
- name: ⬆ Upload build result
2528
uses: actions/upload-artifact@v1
2629
with:
@@ -50,7 +53,7 @@ jobs:
5053
python -m pip install octoprint
5154
- name: 🧪 Test install of package
5255
run: |
53-
python -m pip install "dist/Marlin EEPROM editor-*.zip"
56+
python -m pip install dist/sdist.zip
5457
5558
upload-asset:
5659
name: 📦 Upload asset to release
@@ -66,7 +69,7 @@ jobs:
6669
path: dist
6770
- name: 🚚 Rename to release.zip
6871
run: |
69-
cp "dist/Marlin EEPROM editor-*.zip" release.zip
72+
cp dist/sdist.zip release.zip
7073
- name: 🥅 Catch release ID
7174
id: get_release
7275
uses: bruceadams/[email protected]

0 commit comments

Comments
 (0)