From e29ce1af1b288ece0d76a7a3023a4a7a92bc5ad2 Mon Sep 17 00:00:00 2001 From: Arne Naegel Date: Wed, 25 Sep 2024 14:08:50 +0200 Subject: [PATCH] Update 03-update-assets.yml --- .github/workflows/03-update-assets.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/03-update-assets.yml b/.github/workflows/03-update-assets.yml index dd810f0..0a93072 100644 --- a/.github/workflows/03-update-assets.yml +++ b/.github/workflows/03-update-assets.yml @@ -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 }}" @@ -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