-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: block java release on playground repo (#207)
Make sure playground repos never release a java project on accident
- Loading branch information
1 parent
cb23302
commit 0075395
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ inputs: | |
|
||
runs: | ||
using: "composite" | ||
if: "!contains(github.repository, 'playground')" | ||
steps: | ||
- name: Check out repository | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ inputs: | |
default: "." | ||
runs: | ||
using: "composite" | ||
if: "!contains(github.repository, 'playground')" | ||
steps: | ||
- name: Check out repository | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ inputs: | |
default: "." | ||
runs: | ||
using: "composite" | ||
if: "!contains(github.repository, 'playground')" | ||
steps: | ||
- name: Check out repository | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
|
@@ -76,7 +77,7 @@ runs: | |
CI: "true" | ||
|
||
- name: Publish releases to Nexus | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
if: ${{ startsWith(github.ref, 'refs/tags/')}} | ||
run: | | ||
export SIGNING_SECRET_KEY_RING_FILE="$(mktemp -d)/secring.gpg" | ||
echo '${{ inputs.signing-secret-key-ring }}' | base64 -d > $SIGNING_SECRET_KEY_RING_FILE | ||
|