Skip to content

Commit

Permalink
Update download.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoudin authored Mar 18, 2024
1 parent c0f4d9a commit a68685b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on:
types:
- created
jobs:
build:
download-and-add-artifact:
runs-on: ubuntu-latest

steps:
- name: Download file
run: |
# Téléchargez le fichier depuis l'URL
curl -L -o "tsmaster_${{ github.ref_name }}.exe" "http://www.tosun.tech/TOSUNSoftware/TSMaster_Setup_alpha.exe"
uses: actions/download-artifact@v2
with:
name: tsmaster_${{ github.ref_name }}.exe
url: http://www.tosun.tech/TOSUNSoftware/TSMaster_Setup_alpha.exe

- name: Add tsmaster to release assets
id: upload_asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "tsmaster_${{ github.ref_name }}.exe"
upload_url: ${{ github.event.release.upload_url }}
asset_name: tsmaster_${{ github.ref_name }}.exe
asset_content_type: application/octet-stream

0 comments on commit a68685b

Please sign in to comment.