Skip to content

Commit

Permalink
release test 15
Browse files Browse the repository at this point in the history
  • Loading branch information
schiele committed Mar 6, 2024
1 parent 3f21dcc commit 0703de6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,13 @@ jobs:
with:
name: stl-files
path: stl
- name: Get Release Information
id: release_info
if: github.event_name == 'release'
run: |
echo "::set-output name=upload_url::${{ github.event.release.upload_url }}"
- name: Zip STL files
if: github.event_name == 'release'
run: |
zip -r stl-files.zip stl
- name: Upload ZIP Artifact to Release
if: github.event_name == 'release'
run: |
upload_url="${{ steps.release_info.outputs.upload_url }}"
upload_url="${{ github.event.release.upload_url }}"
upload_url="${upload_url/\{?name,label\}/?name=stl-files.zip}"
curl -s -X POST -H "Authorization: Bearer ${{ secrets.MY_SECRET }}" -H "Content-Type: application/octet-stream" --data-binary "@stl-files.zip" "$upload_url"

0 comments on commit 0703de6

Please sign in to comment.