diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9024963..319c81b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,9 @@ jobs: fileVersion: ${{ github.event.release.tag_name }} informationalVersion: ${{ github.event.release.tag_name }}-${{ github.sha }} - name: Build - run: dotnet build DotNetSiemensPLCToolBoxLibrary.sln + run: dotnet build --configuration Release DotNetSiemensPLCToolBoxLibrary.sln - uses: actions/upload-artifact@v4 with: path: ./**/DotNetProjects.DotNetSiemensPLCToolBoxLibrary*.nupkg -# - name: Publish Nuget -# run: dotnet nuget push DotNetSiemensPLCToolBoxLibrary.sln --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json + - name: Publish Nuget + run: dotnet nuget push DotNetSiemensPLCToolBoxLibrary.sln --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json