From 2e7fa3b54ab9d290317f42617aad12c506ab0595 Mon Sep 17 00:00:00 2001 From: Niko Dziemba Date: Mon, 9 May 2022 10:43:40 +0200 Subject: [PATCH] Upgrade to codecov-action v2 v1 no longer works properly, so let's upgrade See https://github.com/codecov/codecov-action#%EF%B8%8F--deprecation-of-v1 --- .github/workflows/pullrequest.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index e0586986..8491858c 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -24,6 +24,6 @@ jobs: - name: Build run: mvn -B package --file pom.xml -Pcoverage -Dsytle.colors=always --errors - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b5d81ec..f91858e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,11 +30,11 @@ jobs: nexus_username: ${{ secrets.nexus_username }} nexus_password: ${{ secrets.nexus_password }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: token: ${{ secrets.CODECOV_TOKEN }} # - name: Release # uses: softprops/action-gh-release@v1 # if: startsWith(github.ref, 'refs/tags/') # env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}