File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,20 +10,15 @@ jobs:
1010 env :
1111 ASPNETCORE_ENVIRONMENT : " Production"
1212
13- runs-on : ubuntu-16.04
13+ runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v1
16+ - uses : actions/checkout@v2.3.4
1717
1818 - name : Get the version
1919 id : get_version
2020 run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2121
22- - name : Setup .NET Core
23- uses : actions/setup-dotnet@v1
24- with :
25- dotnet-version : 3.1.100
26-
2722 - name : Restore Nuget Packages
2823 run : dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
2924
7671
7772 - name : Get Release
7873 id : getrelease
79- uses : octokit/request-action@v1.x
74+ uses : octokit/request-action@v2.0.17
8075 with :
8176 route : GET /repos/StuartFerguson/SecurityService/releases/tags/${{ steps.get_version.outputs.VERSION }}
8277 env :
@@ -113,12 +108,7 @@ jobs:
113108 --deployTo Development
114109 --waitfordeployment
115110 --deploymenttimeout 00:05:00
116- --releasenotes "${{ steps.buildreleasenotes.outputs.releasenote }}"
117-
118- - name : Setup .NET Core
119- uses : actions/setup-dotnet@v1
120- with :
121- dotnet-version : 3.1.100
111+ --releasenotes "${{ steps.buildreleasenotes.outputs.releasenote }}"
122112
123113 - name : Build and Publish Nuget Packages
124114 run : |
Original file line number Diff line number Diff line change 1414 runs-on : windows-latest
1515
1616 steps :
17- - uses : actions/checkout@v1
18-
19- - name : Setup .NET Core
20- uses : actions/setup-dotnet@v1
21- with :
22- dotnet-version : 3.1.100
17+ - uses : actions/checkout@v2.3.4
2318
2419 - name : Restore Nuget Packages
2520 run : dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
6964 runs-on : ubuntu-latest
7065
7166 steps :
72- - uses : actions/checkout@v1
73-
74- - name : Setup .NET Core
75- uses : actions/setup-dotnet@v1
76- with :
77- dotnet-version : 3.1.100
67+ - uses : actions/checkout@v2.3.4
7868
7969 - name : Restore Nuget Packages
8070 run : dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
8878 dotnet test "SecurityService.UnitTests\SecurityService.UnitTests.csproj" /p:ExcludeByFile="\SecurityService\Views\**\*.cshtml" /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:ExcludeByAttribute="Obsolete" /p:ExcludeByAttribute="GeneratedCodeAttribute" /p:ExcludeByAttribute="CompilerGeneratedAttribute" /p:ExcludeByAttribute="ExcludeFromCodeCoverageAttribute" /p:CoverletOutput="../lcov1.info" /maxcpucount:1 /p:CoverletOutputFormat="lcov"
8979
9080 - name : Setup Node.js for use with actions
91- uses : actions/setup-node@v1.1.0
81+ uses : actions/setup-node@v1.4.4
9282
9383 - name : Combine Coverage
9484 run : |
Original file line number Diff line number Diff line change 1414 runs-on : windows-latest
1515
1616 steps :
17- - uses : actions/checkout@v1
18-
19- - name : Setup .NET Core
20- uses : actions/setup-dotnet@v1
21- with :
22- dotnet-version : 3.1.100
17+ - uses : actions/checkout@v2.3.4
2318
2419 - name : Restore Nuget Packages
2520 run : dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
6055 DriverExe : msedgedriver.exe
6156 run : |
6257 dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest
63-
64- - name : Setup tmate session
65- if : failure()
66- uses : mxschmitt/action-tmate@v1
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 # Drafts your next Release notes as Pull Requests are merged into "master"
14- - uses : toolmantim/release-drafter@v5.2.0
14+ - uses : toolmantim/release-drafter@v5.12.1
1515 env :
1616 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments