File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Copilot Setup Steps"
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths :
7+ - .github/workflows/copilot-setup-steps.yml
8+ pull_request :
9+ paths :
10+ - .github/workflows/copilot-setup-steps.yml
11+
12+ jobs :
13+ # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
14+ copilot-setup-steps :
15+ runs-on : ubuntu-latest
16+ permissions :
17+ contents : read
18+
19+ # Steps that will run before the agent starts
20+ steps :
21+ - name : ' Checkout'
22+ uses : actions/checkout@v2
23+ with :
24+ submodules : true
25+ - name : ' Cache'
26+ uses : actions/cache@v4
27+ with :
28+ path : |
29+ ~/.m2
30+ ~/.gradle
31+ key : ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
32+ - name : ' Setup Java'
33+ uses : actions/setup-java@v1
34+ with :
35+ java-version : 17
36+ java-package : jdk
37+ - name : ' Build'
38+ run : ./gradlew build --max-workers 1
39+ env :
40+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
41+ MAVEN_KEY : ${{ secrets.MAVEN_KEY }}
You can’t perform that action at this time.
0 commit comments