Skip to content

Commit

Permalink
move env back
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorArkwolf committed Aug 17, 2023
1 parent 2a4a685 commit e50449a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/compile-sketch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ jobs:
name: Sonar-Scanner
runs-on: ubuntu-latest
needs: [compile]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
timeout-minutes: 30
strategy:
fail-fast: false
Expand All @@ -90,6 +87,9 @@ jobs:
.pio/build/${{ matrix.environment.command }}
key: ${{ env.BUILD_CACHE }}-${{ matrix.environment.command }}
- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
sonar-scanner --define sonar.cfamily.build-wrapper-output=".pio/build/${{ matrix.environment.command }}"
Expand Down

0 comments on commit e50449a

Please sign in to comment.