From abe8173e9c1d9e36d8d10816582204658ef8d2e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lios=20GILLES?= Date: Tue, 5 Dec 2023 09:58:30 +0100 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 01529af5..5c2d23fd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -56,12 +56,17 @@ jobs: with: check_name: Test Results + - name: Flatten P2 repository + uses: RoiSoleil/flatten-p2-repo@main + with: + repository-path: "./org.moreunit.updatesite" + - name: Release SNAPSHOT if: github.ref == 'refs/heads/master' uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" + automatic_release_tag: "snapshot" prerelease: true title: "Development Build" files: | @@ -73,5 +78,5 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - ./org.moreunit.updatesite/target/org.moreunit.updatesite-*-SNAPSHOT.zip + ./org.moreunit.updatesite/target/org.moreunit.updatesite-*.zip ./org.moreunit.updatesite/target/flat-repository/*