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 b227192 commit 04c6a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:
- name: Upload Published App as Artifact
uses: actions/upload-artifact@v2
with:
name: published-app
path: ./publish/**
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 # This ID is used to reference the output of this step
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -53,13 +54,12 @@ jobs:
draft: false
prerelease: false


- 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 }} # Ensure this matches the ID of the Create Release step
upload_url: ${{ steps.create_release.outputs.upload_url }} # Correctly references the output of the Create Release step
asset_path: ./publish/DeFRaG_Helper.exe
asset_name: DeFRaG_Helper.exe
asset_content_type: application/octet-stream

0 comments on commit 04c6a55

Please sign in to comment.