Skip to content

Commit

Permalink
- change github action to build release version
Browse files Browse the repository at this point in the history
  • Loading branch information
Steinar Elgsæter committed Feb 9, 2024
1 parent 6578c17 commit 25bcc20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
- name: Restore NuGet Packages
run: nuget restore TimeSeriesAnalysis.sln
- name: Build
run: dotnet build TimeSeriesAnalysis.sln -c Debug
run: dotnet build TimeSeriesAnalysis.sln -c Release
- name: Pack
run: dotnet pack TimeSeriesAnalysis.sln -c Debug --include-symbols --include-source
run: dotnet pack TimeSeriesAnalysis.sln -c Release --include-symbols --include-source
- name: Nuget Set API key
run: nuget setapikey ${{secrets.NUGET_API_KEY}} -source https://nuget.pkg.github.com/equinor/
- name: Nuget publish
run: nuget push bin\Debug\*.nupkg -source https://nuget.pkg.github.com/equinor/ -SkipDuplicate
run: nuget push bin\Release\*.nupkg -source https://nuget.pkg.github.com/equinor/ -SkipDuplicate
#- name: Publish
# uses: rohith/publish-nuget@v2
# with:
Expand Down
2 changes: 1 addition & 1 deletion TimeSeriesAnalysis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<RunAnalyzersDuringLiveAnalysis>False</RunAnalyzersDuringLiveAnalysis>
<RepositoryUrl>https://github.com/equinor/TimeSeriesAnalysis.git</RepositoryUrl>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<Version>1.3.05</Version>
<Version>1.3.06</Version>
<Company>Equinor</Company>
<Authors>Equinor</Authors>
<IncludeSymbols>true</IncludeSymbols>
Expand Down

0 comments on commit 25bcc20

Please sign in to comment.