Skip to content

Commit

Permalink
Merge pull request #6 from j4587698/feat-nuget
Browse files Browse the repository at this point in the history
更新nuget推送
  • Loading branch information
j4587698 authored Jul 29, 2024
2 parents b7d9d1f + 992d958 commit e84711c
Showing 1 changed file with 4 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,8 +1,9 @@
name: publish to nuget

on:
pull_request:
branches: ["master"]
push:
tags:
- 'v*'

jobs:
build:
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Publish AListSdkSharp
uses: tedd/publish-nuget-neo@v1
uses: tedd/publish-nuget-neo@v1.0.2
with:
PROJECT_FILE_PATH: AListSdkSharp/AListSdkSharp.csproj
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
Expand Down

0 comments on commit e84711c

Please sign in to comment.