Skip to content

Commit

Permalink
update codecov action in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed May 17, 2024
1 parent 7c2e74e commit 63c25b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: mvn clean verify -ntp

- name: Step 5 - Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
7 changes: 4 additions & 3 deletions .github/workflows/push-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}

- name: Step 6 - Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
4 changes: 2 additions & 2 deletions .github/workflows/release-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
run: |
NEXT_VERSION="$(echo '${{ inputs.version }}' | perl -pe 's{^(([0-9]\.)+)?([0-9]+)$}{$1 . ($3 + 1)}e')"
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "release-scripts"
git config --global user.email "release-scripts@users.noreply.github.com"
./release-scripts/release.sh -v $VERSION $NEXT_VERSION
echo $(git log -5 --oneline)
git push --atomic origin master develop --follow-tags # all or nothing
Expand Down

0 comments on commit 63c25b5

Please sign in to comment.