diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be68544..3d98518 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,8 +35,8 @@ 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 @@ -44,6 +44,7 @@ jobs: 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 }} @@ -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