bump version #1046
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: '8.x' | |
| - name: Setup MSBuild Path | |
| uses: microsoft/[email protected] | |
| - name: Setup NuGet | |
| uses: NuGet/[email protected] | |
| - 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 Release | |
| - name: Pack | |
| run: dotnet pack TimeSeriesAnalysis.sln -c Release --include-symbols -p:SymbolPackageFormat=snupkg --include-source | |
| - name: Nuget on Github Set API key | |
| run: nuget setapikey ${{secrets.NUGET_ORG_API_KEY}} -source https://api.nuget.org/v3/index.json | |
| - name: Nuget on Github publish | |
| run: nuget push bin\Release\*.nupkg -source https://api.nuget.org/v3/index.json -SkipDuplicate | |
| # - 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\Release\*.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/ | |