Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
netquick authored Jul 15, 2024
1 parent 850f864 commit 2518cae
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ jobs:
with:
name: published-app
path: ./publish/**


- name: Get Current Date
id: current_date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
shell: bash

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -48,17 +54,12 @@ jobs:
draft: false
prerelease: false

- name: Get Current Date
id: current_date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
shell: bash

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./publish/DeFRaG_Helper.exe # Replace with the path to your single file application
asset_name: DeFRaG_Helper.exe # Replace with the name of your single file application
asset_path: ./publish/DeFRaG_Helper.exe
asset_name: DeFRaG_Helper.exe
asset_content_type: application/octet-stream

0 comments on commit 2518cae

Please sign in to comment.