Skip to content

Commit

Permalink
ci: use GitHub only release (#6)
Browse files Browse the repository at this point in the history
# Description

A Maven release does not work here as the `pom.xml` is incomplete and
the release always fails. We don't want to push the template file to
Maven.

A new repository using this template runs the
`.github/update_workflows.sh` which copies the correct files.

# Verification

None
  • Loading branch information
kayman-mk authored May 14, 2024
1 parent e563bd0 commit 4bdeee9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ on:

jobs:
default:
uses: Hapag-Lloyd/Workflow-Templates/.github/workflows/maven_release_callable.yml@c34ea75ff9e52d92a9433a19dd9fcd473bac2eee
# using a GitHub only release here. Use .github/update_workflows.sh to switch to a Maven release
uses: Hapag-Lloyd/Workflow-Templates/.github/workflows/default_release_callable.yml@c34ea75ff9e52d92a9433a19dd9fcd473bac2eee
secrets: inherit

0 comments on commit 4bdeee9

Please sign in to comment.