Skip to content

Commit 33923fe

Browse files
authored
Upgrade to codecov-action v2 (#95)
v1 no longer works properly, so let's upgrade See https://github.com/codecov/codecov-action#%EF%B8%8F--deprecation-of-v1
1 parent 8bd3761 commit 33923fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pullrequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
- name: Build
2525
run: mvn -B package --file pom.xml -Pcoverage -Dsytle.colors=always --errors
2626
- name: Upload coverage to Codecov
27-
uses: codecov/codecov-action@v1
27+
uses: codecov/codecov-action@v2
2828
with:
2929
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
nexus_username: ${{ secrets.nexus_username }}
3131
nexus_password: ${{ secrets.nexus_password }}
3232
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v1
33+
uses: codecov/codecov-action@v2
3434
with:
3535
token: ${{ secrets.CODECOV_TOKEN }}
3636
# - name: Release
3737
# uses: softprops/action-gh-release@v1
3838
# if: startsWith(github.ref, 'refs/tags/')
3939
# env:
40-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)