Skip to content

Commit

Permalink
Release 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Dec 27, 2021
1 parent 0e6191a commit ab45bbc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to GitHub Packages
name: Publish to NuGet
on:
release:
types: [created]
Expand All @@ -16,12 +16,12 @@ jobs:
dotnet-version: '3.1.x'
- name: Pack
run: dotnet pack --configuration Release DotnetTestSplit/DotnetTestSplit.csproj
- name: Push to GitHub packages
run: |
dotnet nuget add source --username javiertuya --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/javiertuya/index.json"
dotnet nuget push DotnetTestSplit/nupkg/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#- name: Push to GitHub packages
# run: |
# dotnet nuget add source --username javiertuya --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/javiertuya/index.json"
# dotnet nuget push DotnetTestSplit/nupkg/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push to nuget.org
run: dotnet nuget push DotnetTestSplit/nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source "https://api.nuget.org/v3/index.json"

4 changes: 2 additions & 2 deletions DotnetTestSplit/DotnetTestSplit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<InformationalVersion>1.1.3</InformationalVersion>
<InformationalVersion>1.1.4</InformationalVersion>

<PackAsTool>true</PackAsTool>
<ToolCommandName>DotnetTestSplit</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<RepositoryUrl>https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl>
<Version>1.1.3</Version>
<Version>1.1.4</Version>
<Authors>Javier Tuya</Authors>
<Company>GIIS - University of Oviedo</Company>
<Description>
Expand Down
4 changes: 2 additions & 2 deletions TestDotnetTestSplit/TestDotnetTestSplit.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand All @@ -10,7 +10,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.1.0" />
<PackageReference Include="VisualAssert" Version="2.1.1" />
<PackageReference Include="VisualAssert" Version="2.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit ab45bbc

Please sign in to comment.