Skip to content

Commit

Permalink
Update 03-update-assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel authored Sep 25, 2024
1 parent e28fdcd commit e29ce1a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/03-update-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
https://api.github.com/repos/${{ github.repository }}/releases/latest)
echo "::set-output name=upload_url::$(echo $latest_release | jq -r .upload_url | sed -e "s/{?name,label}//")"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Test
run: echo "URL=${{ steps.get_release.outputs.upload_url }}"

Expand All @@ -58,7 +69,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
#upload_url: ${{ steps.get_release.outputs.upload_url }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./ProMesh4-Installer.exe
asset_name: promesh_setup_win64.exe
asset_content_type: application/octet-stream

0 comments on commit e29ce1a

Please sign in to comment.