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,12 +10,15 @@ jobs:
1010 name : " Nightly Build"
1111 env :
1212 ASPNETCORE_ENVIRONMENT : " Production"
13-
13+
1414 runs-on : ubuntu-latest
1515
1616 steps :
1717 - uses : actions/checkout@v2.3.4
1818
19+ - name : Set Up Variables
20+ run : echo "action_url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_ENV
21+
1922 - name : Restore Nuget Packages
2023 run : dotnet restore CallbackHandler.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
2124
4043 uses : coverallsapp/github-action@master
4144 with :
4245 github-token : ${{ secrets.github_token }}
43- path-to-lcov : lcov.info
46+ path-to-lcov : lcov.info
47+
48+ - uses : nashmaniac/create-issue-action@v1.1
49+ if : ${{ failure() }}
50+ name : Create an issue on build failure
51+ with :
52+ title : Investigate Nightly Build Failure
53+ token : ${{secrets.GITHUB_TOKEN}}
54+ labels : nightlybuild
55+ body : Url is ${{env.action_url}}
You can’t perform that action at this time.
0 commit comments