Skip to content

[增加]1. 增加组件代理的激活和反激活前后的函数调用 #41

[增加]1. 增加组件代理的激活和反激活前后的函数调用

[增加]1. 增加组件代理的激活和反激活前后的函数调用 #41

Workflow file for this run

name: Publish Release
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
- name: Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
allowUpdates: true
makeLatest: false
tag: ${{ steps.get-tag.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}