diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 8f0afb3..d08a715 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -1,9 +1,8 @@ name: publish to nuget on: - push: - tags: - - 'v*' + pull_request: + branches: ["master"] jobs: build: @@ -21,7 +20,7 @@ jobs: - name: Build run: dotnet build --no-restore - name: Publish AListSdkSharp - uses: alirezanet/publish-nuget@v3.0.4 + uses: tedd/publish-nuget-neo@v1 with: PROJECT_FILE_PATH: AListSdkSharp/AListSdkSharp.csproj VERSION_REGEX: ^\s*(.*)<\/Version>\s*$ diff --git a/AListSdkSharp/AListSdkSharp.csproj b/AListSdkSharp/AListSdkSharp.csproj index f3acd51..b5dab75 100644 --- a/AListSdkSharp/AListSdkSharp.csproj +++ b/AListSdkSharp/AListSdkSharp.csproj @@ -6,7 +6,7 @@ AList .Net Sdk https://github.com/j4587698/AListSdkSharp https://github.com/j4587698/AListSdkSharp - 1.1.4 + 1.1.5