From 98038f460555a5c89d5e3001544a8db2717f6c4b Mon Sep 17 00:00:00 2001 From: Egor Dvachevsky Date: Thu, 28 Dec 2023 16:36:52 +0100 Subject: [PATCH 1/2] Force workflow to use dotnet 8 --- .github/workflows/nugget.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nugget.yml b/.github/workflows/nugget.yml index 68df684..2efa4ca 100644 --- a/.github/workflows/nugget.yml +++ b/.github/workflows/nugget.yml @@ -4,7 +4,7 @@ on: branches: - master env: - VERSION: 1.0.${{ github.run_number }} + VERSION: 2.${{ github.run_number }} jobs: publish: name: build, pack & publish @@ -15,7 +15,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore @@ -37,4 +37,4 @@ jobs: run: dotnet pack Nomia/Nomia.csproj --configuration Release /p:Version=${VERSION} -o build - name: Push NuGet package (Websocket) - run: nuget push build/Nomia.${VERSION}.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json \ No newline at end of file + run: nuget push build/Nomia.${VERSION}.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json From b587b7d3ddbf327b0fc9399bbf082ff2b03013e9 Mon Sep 17 00:00:00 2001 From: Egor Dvachevsky Date: Thu, 28 Dec 2023 16:42:41 +0100 Subject: [PATCH 2/2] fix(ci): Rollback to old version system --- .github/workflows/nugget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nugget.yml b/.github/workflows/nugget.yml index 2efa4ca..3305127 100644 --- a/.github/workflows/nugget.yml +++ b/.github/workflows/nugget.yml @@ -4,7 +4,7 @@ on: branches: - master env: - VERSION: 2.${{ github.run_number }} + VERSION: 1.0.${{ github.run_number }} jobs: publish: name: build, pack & publish