diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 98bf92e..fb5c900 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,5 @@ -# ProjBobcat Pull Request Standard Template - @@ -13,11 +13,6 @@ - [ ] 预期的目标都已经实现 All expected objectives have been achieved - [ ] 已经在本地测试了所有更改 All changes have been tested locally -- [ ] 代码不含有破坏性行为功能* The code does not contain any destructive behavior features* -- [ ] 同意遵守社区守则和贡献规范 Agree to adhere to the community guidelines and contribution standards - - ## 关联事件 Related ---- diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index eb8a00a..acd1a4e 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -37,10 +37,10 @@ jobs: with: fallback: 1.0.0 - name: Restore packages - run: dotnet restore ProjBobcat/ProjBobcat.sln + run: dotnet restore ProjBobcat/ProjBobcat/ProjBobcat.csproj - name: Build the project - run: dotnet build ProjBobcat/ProjBobcat.sln -c Release --no-restore + run: dotnet build ProjBobcat/ProjBobcat/ProjBobcat.csproj -c Release --no-restore - name: Create the package - run: $tag="${{ steps.previoustag.outputs.tag }}".replace("v",""); dotnet pack ProjBobcat/ProjBobcat.sln -c Release -p:PackageVersion="$tag-CI${{ github.sha }}-beta" --no-build --no-restore -o . + run: $tag="${{ steps.previoustag.outputs.tag }}".replace("v",""); dotnet pack ProjBobcat/ProjBobcat/ProjBobcat.csproj -c Release -p:PackageVersion="$tag-CI${{ github.sha }}-beta" --no-build --no-restore -o . - name: Publish the package to NuGet.org run: dotnet nuget push *.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04b7e77..665054a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,10 @@ jobs: dotnet-version: 8.0 - uses: actions/checkout@v4 - name: Restore packages - run: dotnet restore ProjBobcat/ProjBobcat.sln + run: dotnet restore ProjBobcat/ProjBobcat/ProjBobcat.csproj - name: Build the project - run: dotnet build ProjBobcat/ProjBobcat.sln -c Release --no-restore + run: dotnet build ProjBobcat/ProjBobcat/ProjBobcat.csproj -c Release --no-restore - name: Create the package - run: $tag=${{ github.ref }}.replace("v",""); dotnet pack ProjBobcat/ProjBobcat.sln -c Release -p:PackageVersion=$tag --no-build --no-restore -o . + run: $tag=${{ github.ref }}.replace("v",""); dotnet pack ProjBobcat/ProjBobcat/ProjBobcat.csproj -c Release -p:PackageVersion=$tag --no-build --no-restore -o . - name: Publish the package to NuGet.org run: dotnet nuget push *.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json