Skip to content

Commit 70e7aa4

Browse files
authored
ci: save p2 artifact for publishing (#17)
1 parent 7e6890e commit 70e7aa4

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

.github/workflows/maven-ci.yml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98

109
steps:
11-
- uses: actions/checkout@v3
12-
- name: Set up JDK 17
13-
uses: actions/setup-java@v4
14-
with:
15-
java-version: 17
16-
distribution: 'temurin'
17-
java-package: jdk
18-
- name: Set up Maven 3.9.6
19-
uses: stCarolas/setup-maven@v5
20-
with:
21-
maven-version: 3.9.6
22-
- name: Build with Maven (Java 17)
23-
run: mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up JDK 17
13+
uses: actions/setup-java@v4
14+
with:
15+
java-version: 17
16+
distribution: 'temurin'
17+
java-package: jdk
18+
19+
- name: Set up Maven 3.9.6
20+
uses: stCarolas/setup-maven@v5
21+
with:
22+
maven-version: 3.9.6
23+
24+
- name: Build with Maven (Java 17)
25+
run: mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml
26+
27+
- uses: actions/upload-artifact@v4
28+
with:
29+
name: cppcheclipse-repository
30+
path: com.googlecode.cppcheclipse.repository/target/com.googlecode.cppcheclipse.repository-*-SNAPSHOT.zip
31+

0 commit comments

Comments
 (0)