Skip to content

Commit

Permalink
checkout repo using checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Aug 14, 2023
1 parent 49542f7 commit d7b3752
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/verify_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
distribution: temurin
cache: maven
- name: checkout googleapis
run: |
git clone -q https://github.com/googleapis/googleapis.git
cd googleapis
git checkout 90a551c2a02613507a2f0f05fd25d133113a1a1c
uses: actions/checkout@v3
with:
repository: googleapis/googleapis
ref: 90a551c2a02613507a2f0f05fd25d133113a1a1c
- name: copy protos to proto_path
run: |
cp -r googleapis/google library_generation
Expand All @@ -43,10 +43,11 @@ jobs:
--rest_numeric_enums false \
--include_samples true
- name: checkout googleapis-gen
run: |
git clone https://cloud-java-bot:${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}@github.com/googleapis/googleapis-gen.git
cd googleapis-gen
git checkout 30620b4f34713860083fff036982900b1004cbf5
uses: actions/checkout@v3
with:
repository: googleapis/googleapis-gen
ref: 30620b4f34713860083fff036982900b1004cbf5
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
- name: compare generation result
run: |
# ignore gradle files
Expand Down

0 comments on commit d7b3752

Please sign in to comment.