mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 10:51:05 +08:00
1
This commit is contained in:
parent
64e939cd9b
commit
8bf6e777ad
|
@ -1,19 +0,0 @@
|
||||||
version: 2.1
|
|
||||||
|
|
||||||
orbs:
|
|
||||||
win: circleci/windows@1.0.0
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: mcr.microsoft.com/dotnet/sdk:5.0
|
|
||||||
environment:
|
|
||||||
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX: 0
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: "Install project dependencies"
|
|
||||||
command: dotnet restore
|
|
||||||
- run:
|
|
||||||
name: "Run Build step"
|
|
||||||
command: dotnet publish -c Release -r win10-x64
|
|
22
.github/workflows/dotnetcore.yml
vendored
22
.github/workflows/dotnetcore.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
# Publish
|
# Publish
|
||||||
- name: publish on version change
|
- name: publish on version change
|
||||||
id: publish_nuget
|
id: publish_nuget
|
||||||
uses: rohith/publish-nuget@v2
|
uses: SpringHgui/publish-nuget@1.0.0
|
||||||
with:
|
with:
|
||||||
# Filepath of the project to be packaged, relative to root of repository
|
# Filepath of the project to be packaged, relative to root of repository
|
||||||
PROJECT_FILE_PATH: FastTunnel.Core/FastTunnel.Core.csproj
|
PROJECT_FILE_PATH: FastTunnel.Core/FastTunnel.Core.csproj
|
||||||
|
@ -62,7 +62,25 @@ jobs:
|
||||||
|
|
||||||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
|
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
|
||||||
# INCLUDE_SYMBOLS: false
|
# INCLUDE_SYMBOLS: false
|
||||||
|
api:
|
||||||
|
name: publish-hosting
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup dotnet
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: 6.0.*
|
||||||
|
|
||||||
|
# Publish
|
||||||
|
- name: publish on version change
|
||||||
|
id: publish_nuget
|
||||||
|
uses: SpringHgui/publish-nuget@1.0.0
|
||||||
|
with:
|
||||||
|
# Filepath of the project to be packaged, relative to root of repository
|
||||||
|
PROJECT_FILE_PATH: FastTunnel.Hosting/FastTunnel.Hosting.csproj
|
||||||
|
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
|
||||||
api:
|
api:
|
||||||
name: publish-api
|
name: publish-api
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -77,7 +95,7 @@ jobs:
|
||||||
# Publish
|
# Publish
|
||||||
- name: publish on version change
|
- name: publish on version change
|
||||||
id: publish_nuget
|
id: publish_nuget
|
||||||
uses: rohith/publish-nuget@v2
|
uses: SpringHgui/publish-nuget@1.0.0
|
||||||
with:
|
with:
|
||||||
# Filepath of the project to be packaged, relative to root of repository
|
# Filepath of the project to be packaged, relative to root of repository
|
||||||
PROJECT_FILE_PATH: FastTunnel.Api/FastTunnel.Api.csproj
|
PROJECT_FILE_PATH: FastTunnel.Api/FastTunnel.Api.csproj
|
||||||
|
|
Loading…
Reference in New Issue
Block a user