Skip to content

Commit f936916

Browse files
committed
ci: add Copilot setup steps workflow for Java project
1 parent 72215c7 commit f936916

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
copilot-setup-steps:
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: read
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v6
22+
23+
- name: Set up JDK 17
24+
uses: actions/setup-java@v5
25+
with:
26+
java-version: '17'
27+
distribution: 'temurin'
28+
cache: 'maven'
29+
30+
- name: Verify Java version
31+
run: java -version
32+
33+
- name: Download dependencies
34+
run: mvn dependency:go-offline -B

0 commit comments

Comments
 (0)