diff --git a/.github/actions/build.yml b/.github/actions/build.yml index bd376db..a73235c 100644 --- a/.github/actions/build.yml +++ b/.github/actions/build.yml @@ -20,9 +20,6 @@ runs: echo SELECTED_JAVA_VERSION=21 >> "${GITHUB_ENV}" esac - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Java uses: actions/setup-java@v4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50a4dd7..36df581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,23 @@ jobs: build-linux: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: ./.github/actions/build.yaml build-windows: runs-on: windows-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: ./.github/actions/build.yaml build-macos: runs-on: macos-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: ./.github/actions/build.yaml