Skip to content

Commit

Permalink
Update PAT handling of checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 18, 2023
1 parent fa72a6d commit 592b502
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/pass-java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,10 @@ jobs:
cp main/pom.xml combined
sed -i '/<\/developers>/a <modules><module>pass-core</module><module>pass-support</module></modules>' 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: |
Expand Down

0 comments on commit 592b502

Please sign in to comment.