checkout repository before setting up java

This commit is contained in:
Kavin 2023-05-10 19:09:53 +01:00 committed by GitHub
parent 9937c78f2a
commit d366241625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,10 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java 17
uses: actions/setup-java@v3
with:
@ -44,9 +48,6 @@ jobs:
distribution: "temurin"
cache: "gradle"
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2