Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RoiSoleil authored Dec 5, 2023
1 parent 6673779 commit abe8173
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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/*

0 comments on commit abe8173

Please sign in to comment.