From 592b502087b6b422ead25d19a90e7241273a1b0f Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Mon, 18 Dec 2023 13:27:04 -0500 Subject: [PATCH] Update PAT handling of checkout --- .github/workflows/pass-java-release.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pass-java-release.yml b/.github/workflows/pass-java-release.yml index 75099905..833fcbc2 100644 --- a/.github/workflows/pass-java-release.yml +++ b/.github/workflows/pass-java-release.yml @@ -59,21 +59,10 @@ jobs: cp main/pom.xml combined sed -i '/<\/developers>/a pass-corepass-support' combined/pom.xml - - name: Checkout pass-core - uses: actions/checkout@v3 - with: - repository: eclipse-pass/pass-core - ref: 'main' - path: combined/pass-core - token: $ {{ inputs.pat }} - - - name: Checkout pass-support - uses: actions/checkout@v3 - with: - repository: eclipse-pass/pass-support - ref: 'main' - path: combined/pass-support - token: $ {{ inputs.pat }} + - name: Checkout pass-core and pass-support using PAT + run: | + git clone https://${{ inputs.pat }}@github.com/eclipse-pass/pass-core.git combined/pass-core + git clone https://${{ inputs.pat }}@github.com/eclipse-pass/pass-support.git combined/pass-support - name: Set the release version, commit the change, and tag it run: |