2222 - name : Install NET 7
2323 uses : actions/setup-dotnet@v2
2424 with :
25- dotnet-version : ' 7.0.x '
25+ dotnet-version : ' 7.0.101 '
2626
2727 - name : Restore Nuget Packages
2828 run : dotnet restore FileProcessor.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
@@ -41,16 +41,10 @@ jobs:
4141 - name : Setup Node.js for use with actions
4242 uses : actions/setup-node@v1.4.4
4343
44- # - name: Combine Coverage
45- # run: |
46- # npm i lcov-result-merger
47- # ./node_modules/lcov-result-merger/bin/lcov-result-merger.js '*.info' 'lcov.info'
48-
49- # - name: Upload Code Coverage
50- # uses: coverallsapp/github-action@master
51- # with:
52- # github-token: ${{ secrets.github_token }}
53- # path-to-lcov: lcov.info
44+ - name : Upload coverage reports to Codecov
45+ uses : codecov/codecov-action@v3
46+ with :
47+ files : ./lcov1.info,./lcov2.info,./lcov3.info,./lcov4.info
5448
5549 - name : Build Docker Image
5650 run : docker build . --file FileProcessor/Dockerfile --tag fileprocessor:latest
@@ -64,12 +58,12 @@ jobs:
6458 name : tracelogs
6559 path : /home/txnproc/trace/
6660
67- # - uses: nashmaniac /create-issue-action@v1.1
68- # if: ${{ failure() }}
69- # name: Create an issue on build failure
70- # with:
71- # title: Investigate Nightly Build Failure
72- # token: ${{secrets.GITHUB_TOKEN}}
73- # labels: nightlybuild
74- # body: Url is ${{env.action_url}}
61+ - uses : dacbd /create-issue-action@main
62+ if : ${{ failure() }}
63+ name : Create an issue on build failure
64+ with :
65+ title : Investigate Nightly Build Failure
66+ token : ${{secrets.GITHUB_TOKEN}}
67+ labels : nightlybuild
68+ body : Url is ${{env.action_url}}
7569
0 commit comments