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@v4
23+ with :
24+ submodules : true
25+ - name : ' Setup Java'
26+ uses : actions/setup-java@v4
27+ with :
28+ distribution : ' microsoft'
29+ java-version : 21
30+ - name : ' Setup Gradle'
31+ uses : gradle/actions/setup-gradle@v4
32+ with :
33+ gradle-version : wrapper
34+ cache-read-only : false
35+ - name : ' Build'
36+ run : ./gradlew build --no-daemon
37+ env :
38+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
39+ MAVEN_KEY : ${{ secrets.MAVEN_KEY }}
40+ GITHUB_USER : ${{ github.actor }}
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments