From e4876075fdfaae9e1f8102d79cf5c12d4e52a9c4 Mon Sep 17 00:00:00 2001 From: PierreOlivierBrillant Date: Wed, 16 Oct 2024 11:46:59 -0400 Subject: [PATCH] =?UTF-8?q?La=20super=20release=20=C3=A0=20po?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnet.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5d27381..69a6de7 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,4 +1,4 @@ -name: dotnet executable +name: Exécutable dotnet on: [push] @@ -21,9 +21,7 @@ jobs: run: dotnet restore - run: dotnet publish --configuration Release -r win-x64 -p:PublishSingleFile=true --self-contained true working-directory: ./scriptsharp -# - name: Créer le package -# working-directory: ./scriptsharp -# run: dotnet pack --configuration Release ScriptSharp - - name: Publier le package vers GitHub Package Registry (GPR) - working-directory: ./scriptsharp - run: dotnet nuget push ScriptSharp/bin/Release/net8.0/win-x64/publish/ScriptSharp.exe --api-key ${{secrets.GITHUB_TOKEN }} --skip-duplicate \ No newline at end of file + - name: Release + uses: softprops/action-gh-release@v2 + with: + files: ScriptSharp/bin/Release/net8.0/win-x64/publish/ScriptSharp.exe \ No newline at end of file