From 9fefdf848035f51bb82c9e7f539ebb362431a198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20G=C3=B6n=C3=BClta=C5=9F?= Date: Sat, 8 Jun 2024 14:21:26 +0300 Subject: [PATCH] fixes. --- .github/workflows/nuget.yml | 7 ++++--- FmgLib.Localization.csproj | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 5e22bd0..09376c7 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -1,9 +1,10 @@ name: "Deploy to Nuget" on: + workflow_dispatch: push: - tags: - - 'v*' + branches: + - master env: PROJECT_PATH: 'FmgLib.Localization.csproj' @@ -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 }} \ No newline at end of file diff --git a/FmgLib.Localization.csproj b/FmgLib.Localization.csproj index 6f6726a..47810d9 100644 --- a/FmgLib.Localization.csproj +++ b/FmgLib.Localization.csproj @@ -14,6 +14,7 @@ nuget.png README.md LICENSE + 1.0.4