Skip to content

Commit 678f7c0

Browse files
Update codacy.yml
1 parent 945d075 commit 678f7c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/codacy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9-
environment: dev
9+
environment: production
1010

1111
steps:
1212
- uses: actions/checkout@v4
@@ -15,11 +15,13 @@ jobs:
1515
with:
1616
java-version: '8'
1717
distribution: 'temurin'
18+
cache: maven
1819
- name: Test with Maven
1920
run: mvn clean test
2021

2122
- name: Codacy Coverage Reporter
2223
shell: bash
2324
run: |
24-
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --codacy-api-base-url ${{ vars.API_BASE_URL }} -t ${{ secrets.CODACY_PROJECT_TOKEN }}
25+
CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_TOKEN }} \
26+
bash <(curl -Ls https://coverage.codacy.com/get.sh) report
2527

0 commit comments

Comments
 (0)