From f53e99a2181f1fa4d0fb86dafd04ec68ab7d8895 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Mon, 4 Dec 2023 22:48:03 +0000 Subject: [PATCH] Fix publish Signed-off-by: Prabhu Subramanian --- .github/workflows/test.yml | 6 ++++++ Dosai/Dosai.csproj | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f3dafe..2a99c3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,10 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write + packages: write + id-token: write strategy: matrix: dotnet: [ '8.0.x' ] @@ -43,6 +47,8 @@ jobs: dotnet pack --configuration Release Dosai dotnet nuget push Dosai/bin/x64/Release/*.nupkg if: startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release id: create_release if: startsWith(github.ref, 'refs/tags/') diff --git a/Dosai/Dosai.csproj b/Dosai/Dosai.csproj index 4c4a77a..27b4353 100644 --- a/Dosai/Dosai.csproj +++ b/Dosai/Dosai.csproj @@ -10,7 +10,7 @@ README.md true true - 0.0.5 + 0.0.6