9 Commits

Author SHA1 Message Date
Dima yawaflua
77821e56f4 Update SPWorldsWrapper.csproj 2023-12-11 00:42:18 +03:00
Dima yawaflua
71ec3b5f1b Update SPWorldsWrapper.csproj 2023-12-11 00:41:50 +03:00
Dima yawaflua
eb07359b0f Update SPWorldsWrapper.csproj 2023-12-11 00:38:35 +03:00
Dima yawaflua
9df425f5e3 Update SPWorldsWrapper.csproj 2023-12-11 00:37:42 +03:00
Dima yawaflua
af04176488 Update SPWorldsWrapper.csproj 2023-12-11 00:34:47 +03:00
Dima yawaflua
4e4cc7b28a Update SPWorldsWrapper.csproj 2023-12-11 00:28:24 +03:00
Dima yawaflua
9b76b43dc9 Update nuget.yml 2023-12-11 00:26:51 +03:00
Dima yawaflua
f8ebcf7141 Update nuget.yml 2023-12-11 00:23:08 +03:00
Dima yawaflua
7a2454d29c Update nuget.yml 2023-12-11 00:14:17 +03:00
2 changed files with 8 additions and 8 deletions

View File

@@ -13,17 +13,13 @@ 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: SPWorldsWrapper/SPWorldsWrapper/SPWorldsWrapper.csproj PROJECT_FILE_PATH: SPWorldsWrapper/SPWorldsWrapper.csproj
VERSION_REGEX: ${{ steps.vars.outputs.tags }} VERSION_STATIC: ${{ steps.vars.outputs.tags }}
TAG_FORMAT: '*' TAG_FORMAT: '*'
NUGET_KEY: ${{secrets.NUGET_API_KEY}} NUGET_KEY: ${{secrets.NUGET_API_KEY}}

View File

@@ -1,13 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<Version>1.0.1</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup> </ItemGroup>
</Project> </Project>