Skip to content

Commit

Permalink
fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonultasmf committed Jun 8, 2024
1 parent 28ea50e commit 9fefdf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: "Deploy to Nuget"

on:
workflow_dispatch:
push:
tags:
- 'v*'
branches:
- master

env:
PROJECT_PATH: 'FmgLib.Localization.csproj'
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
uses: battila7/get-version-action@v2

- name: 'Pack project'
run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols -p:PackageVersion=${{ steps.version.output.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}

- name: 'Push package'
run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}\*.nupkg -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}
1 change: 1 addition & 0 deletions FmgLib.Localization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<PackageIcon>nuget.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>1.0.4</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 9fefdf8

Please sign in to comment.