mirror of
https://github.com/yawaflua/SPWorldsWrapper.git
synced 2025-12-10 04:29:28 +02:00
Update nuget.yml
This commit is contained in:
7
.github/workflows/nuget.yml
vendored
7
.github/workflows/nuget.yml
vendored
@@ -13,17 +13,12 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.x.x'
|
dotnet-version: '8.x.x'
|
||||||
- name: Install dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --configuration Release --no-restore
|
|
||||||
- name: Set output
|
- name: Set output
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
||||||
- name: Publish to NuGet
|
- name: Publish to NuGet
|
||||||
uses: brandedoutcast/publish-nuget@v2
|
uses: brandedoutcast/publish-nuget@v2
|
||||||
with:
|
with:
|
||||||
PROJECT_FILE_PATH: ${{ github.workspace }}SPWorldsWrapper/SPWorldsWrapper.csproj
|
PROJECT_FILE_PATH: SPWorldsWrapper/SPWorldsWrapper.csproj
|
||||||
VERSION_REGEX: ${{ steps.vars.outputs.tags }}
|
|
||||||
TAG_FORMAT: '*'
|
TAG_FORMAT: '*'
|
||||||
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
|
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
|
||||||
|
|||||||
Reference in New Issue
Block a user