Skip to content

Commit

Permalink
Configure the Publish workflow such that it runs when the Release wor…
Browse files Browse the repository at this point in the history
…kflow completed
  • Loading branch information
BjoernLoetters committed Feb 1, 2025
1 parent 9d10634 commit 7c2825c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publish on Maven Central

on:
release:
types: [created]
workflow_run:
workflows: [ "Release" ]
types:
- completed

jobs:
publish:
Expand Down
16 changes: 15 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,24 @@
<version>1.1.1-beta</version>
<packaging>pom</packaging>

<name>Jar Jar Parse</name>
<name>${project.groupId}:${project.artifactId}</name>
<description>A lightweight but fully typed library for parser combinators in Java.</description>
<url>https://github.com/BjoernLoetters/Jar-Jar-Parse</url>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<name>Björn Lötters</name>
<email>mail@bjoernloetters.com</email>
</developer>
</developers>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
Expand Down

0 comments on commit 7c2825c

Please sign in to comment.