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 }}