Skip to content

Commit 0701924

Browse files
Merge branch 'task/#23_updatesharednugets' of ssh://github.com/TransactionProcessing/CallbackHandler into task/#23_updatesharednugets
2 parents e849bfc + 3d35994 commit 0701924

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/nightlybuild.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff 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

@@ -40,4 +43,13 @@ jobs:
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}}

0 commit comments

Comments
 (0)