Skip to content

Commit

Permalink
Revert "Revert "Limit publishing on Github Packages to new releases""
Browse files Browse the repository at this point in the history
This reverts commit b64826c.
  • Loading branch information
agarciadom committed Jul 28, 2022
1 parent df67c72 commit 8a0929c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish-gh-packages.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Publish to GitHub Packages

# As we cannot automatically run tests with GH Actions due to a dependency on MagicDraw,
# you will need to manually check that all tests pass and then create a release on Github,
# which will trigger this workflow.
on:
workflow_run:
workflows: ["Java CI with Maven"]
types: ["completed"]
branches: [ "main" ]
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a0929c

Please sign in to comment.