Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Dec 4, 2023
1 parent 2403947 commit f53e99a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
Expand Down Expand Up @@ -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/')
Expand Down
2 changes: 1 addition & 1 deletion Dosai/Dosai.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<Version>0.0.5</Version>
<Version>0.0.6</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f53e99a

Please sign in to comment.