Skip to content

bump version

bump version #573

Workflow file for this run

name: Build
on: [push]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
name: Checkout code
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.x'
- name: Setup MSBuild Path
uses: microsoft/Setup-MSBuild@v1.0.3
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
- name: Query nuget folders(figure out where nunit.consolerunner is stored)
run: nuget locals global-packages -list
- name: Restore NuGet Packages
run: nuget restore TimeSeriesAnalysis.sln
- name: Build
run: dotnet build TimeSeriesAnalysis.sln -c Debug
- name: Pack
run: dotnet pack TimeSeriesAnalysis.sln -c Debug --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
#- name: Publish
# uses: rohith/publish-nuget@v2
# with:
# PROJECT_FILE_PATH: TimeSeriesAnalysis.csproj
# TAG_COMMIT: true
# TAG_FORMAT: v*
# NUGET_KEY: ${{secrets.NUGET_API_KEY}}
# NUGET_SOURCE: https://nuget.pkg.github.com/equinor/