From 9a404abf29cac5e9b57f8cf7c5e6e6121dd245e3 Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Tue, 23 Jul 2024 15:26:20 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 39b185e..cbdef12 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,6 +63,7 @@ jobs: dotnet publish -c Release -r win-x64 - name: Upload a Build Artifact uses: actions/upload-artifact@v4 + id: upload-artifact with: # Artifact name name: "StarfieldSaveTool-${{ steps.extract-version.outputs.semver }}" @@ -74,8 +75,8 @@ jobs: uses: softprops/action-gh-release@v1 if: ${{ inputs.release == true }} with: - files: ${{ github.workspace }}/bin/Release/net8.0/win-x64/publish/**/* + files: ${{ steps.upload-artifact.outputs.artifact-url }} prerelease: true draft: true - name: ${{ steps.extract-version.outputs.semver }} - tag_name: ${{ steps.extract-version.outputs.tag }} + name: "${{ steps.extract-version.outputs.semver }}-test" + tag_name: "${{ steps.extract-version.outputs.tag }}-test"