Преглед изворни кода

Set up Git configuration on Gradle Wrapper Workflow

Issue gh-13865
Marcus Da Coregio пре 1 година
родитељ
комит
692c013430
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      .github/workflows/gradle-wrapper-upgrade-execution.yml

+ 4 - 0
.github/workflows/gradle-wrapper-upgrade-execution.yml

@@ -10,6 +10,10 @@ jobs:
     name: Execution
     runs-on: ubuntu-latest
     steps:
+      - name: Set up Git configuration
+        env:
+          TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        run: git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/"
       - name: Checkout
         uses: actions/checkout@v4
       - name: Set up JDK 17