Skip to content

Commit

Permalink
fix: missed to reference the proper environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony-Proum committed May 23, 2021
1 parent ba06382 commit 12562cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ jobs:
Build:
runs-on: ubuntu-latest
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v2
- run: make run-test
- run: make quality-analysis
- run: make run-test
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
Build:
runs-on: ubuntu-latest
environment: default
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ARTIFACT_REGISTRY_USER: ${{ secrets.ARTIFACT_REGISTRY_USER }}
Expand All @@ -18,6 +19,5 @@ jobs:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v2
- run: make run-test
- run: if [ ! -z "$SONAR_TOKEN" ]; then echo "Well, the sonar token as been set"; fi
- run: make quality-analysis
- run: make deploy-package

0 comments on commit 12562cf

Please sign in to comment.