From b8d9f981f6ee1aba2a3e4ec7bf9b66399e90eb8f Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Sat, 22 Feb 2025 11:14:37 -0600 Subject: [PATCH] Update build.yml to upload artifacts --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b19e68..cd055be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,7 @@ jobs: run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true -o publish - name: Upload artifact + id: upload_artifact uses: actions/upload-artifact@v4 with: name: Auto @@ -44,5 +45,5 @@ jobs: - uses: csexton/release-asset-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - pattern: Auto/bin/Release/net9.0/win-x64/publish/*.exe + file: ${{ steps.upload_artifact.artifact-url }} release-url: ${{ steps.create_release.outputs.upload_url }}