From e68258d182fe199db0dd43bc1701c28c839e1822 Mon Sep 17 00:00:00 2001 From: Ethan Date: Wed, 22 May 2024 17:32:19 +0900 Subject: [PATCH] refactor: update workflows --- .github/workflows/prod-pull-request-merge.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/prod-pull-request-merge.yml b/.github/workflows/prod-pull-request-merge.yml index 3f3b9ee..8496757 100644 --- a/.github/workflows/prod-pull-request-merge.yml +++ b/.github/workflows/prod-pull-request-merge.yml @@ -9,7 +9,11 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - name: Checkout repository + uses: actions/checkout@v4 + with: + token: ${{ secrets.SUBMODULE_TOKEN }} + submodules: true - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -19,12 +23,6 @@ jobs: - name: Build with Gradle run: ./gradlew build - - - name: Checkout repository - uses: actions/checkout@v4 - with: - token: ${{ secrets.SUBMODULE_TOKEN }} - submodules: true - name: Setup Docker buildx uses: docker/setup-buildx-action@v2.9.1