Skip to content

Commit

Permalink
👷 🐛 Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cp2004 committed Jan 4, 2021
1 parent 61ef473 commit 7f6f039
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: 🔨 Build a source zip
run: |
python setup.py sdist --formats=zip
- name: 🚚 rename to sdist.zip
run: |
mv dist/Marlin\ EEPROM\ editor-*.zip dist/sdist.zip
- name: ⬆ Upload build result
uses: actions/upload-artifact@v1
with:
Expand Down Expand Up @@ -50,7 +53,7 @@ jobs:
python -m pip install octoprint
- name: 🧪 Test install of package
run: |
python -m pip install "dist/Marlin EEPROM editor-*.zip"
python -m pip install dist/sdist.zip
upload-asset:
name: 📦 Upload asset to release
Expand All @@ -66,7 +69,7 @@ jobs:
path: dist
- name: 🚚 Rename to release.zip
run: |
cp "dist/Marlin EEPROM editor-*.zip" release.zip
cp dist/sdist.zip release.zip
- name: 🥅 Catch release ID
id: get_release
uses: bruceadams/get-release@v1.2.2
Expand Down

0 comments on commit 7f6f039

Please sign in to comment.