File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Copilot Setup Steps"
2+
3+ # Automatically run the setup steps when they are changed to allow for easy validation, and
4+ # allow manual testing through the repository's "Actions" tab
5+ on :
6+ pull_request :
7+ paths :
8+ - .github/workflows/copilot-setup-steps.yml
9+ push :
10+ paths :
11+ - .github/workflows/copilot-setup-steps.yml
12+ workflow_dispatch :
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
19+ copilot-setup-steps :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
26+ - name : Set up JDK for running Gradle
27+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
28+ with :
29+ distribution : temurin
30+ java-version : 17
31+
32+ - name : Set up gradle
33+ uses : gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
34+
35+ - name : Build project and download dependencies
36+ run : ./gradlew build -x test
You can’t perform that action at this time.
0 commit comments