Pārlūkot izejas kodu

Use env variables to debug

Jason Rumney 3 gadi atpakaļ
vecāks
revīzija
0aa4af12c9
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      .github/workflows/tests.yml

+ 4 - 1
.github/workflows/tests.yml

@@ -27,7 +27,10 @@ jobs:
       - name: Track master branch
         run: git fetch --no-tags https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY +refs/heads/main:refs/remotes/origin/main
       - name: SonarCloud Debug
-        run: echo "event: ${{ github.event_name }}, repo: ${{ github.event.repository.name}} "
+        env:
+          GH_EVENT: ${{ github.event_name }}
+          GH_REPO: ${{ github.event.repository.name }}
+        run: echo "event: ${GH_EVENT}, repo: ${GH_REPO}"
       - name: SonarCloud scan
         uses: sonarsource/sonarcloud-github-action@master
         if: github.event_name == 'push' && github.event.repository.name == 'make-all/tuya-local'