From f37fa0532788344e4a2dcae280507bbbbe92a764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 30 Jul 2025 11:04:32 +0200 Subject: [PATCH 1/2] ci: save p2 artifact for publishing --- .github/workflows/maven-ci.yml | 39 ++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 3f00e9b..c9af939 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -4,20 +4,31 @@ on: [push] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: 'temurin' - java-package: jdk - - name: Set up Maven 3.9.6 - uses: stCarolas/setup-maven@v5 - with: - maven-version: 3.9.6 - - name: Build with Maven (Java 17) - run: mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml + - uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: 'temurin' + java-package: jdk + + - name: Set up Maven 3.9.6 + uses: stCarolas/setup-maven@v5 + with: + maven-version: 3.9.6 + + - name: Build with Maven (Java 17) + run: mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml + + - name: List files + run: find -name \* + + - uses: actions/upload-artifact@v4 + with: + name: target + path: com.googlecode.cppcheclipse.repository/target + From b3b488a9ac105c2780b480e7f035c26c37813364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 30 Jul 2025 11:46:46 +0200 Subject: [PATCH 2/2] dsf --- .github/workflows/maven-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index c9af939..c21dd48 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -24,11 +24,8 @@ jobs: - name: Build with Maven (Java 17) run: mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml - - name: List files - run: find -name \* - - uses: actions/upload-artifact@v4 with: - name: target - path: com.googlecode.cppcheclipse.repository/target + name: cppcheclipse-repository + path: com.googlecode.cppcheclipse.repository/target/com.googlecode.cppcheclipse.repository-*-SNAPSHOT.zip