Skip to content

refactor(localization): 重构资源提供者实现以提高性能和可维护性 #54

refactor(localization): 重构资源提供者实现以提高性能和可维护性

refactor(localization): 重构资源提供者实现以提高性能和可维护性 #54

Workflow file for this run

name: Publish NuGet
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.300
- name: Install dotnet tool
run: dotnet tool install -g dotnetCampus.TagToVersion
- name: Set tag to version
run: dotnet TagToVersion -t ${{ github.ref }} -f Version.props
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish To Nuget
run: dotnet nuget push ./bin/app/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate