Skip to content

Commit

Permalink
Merge pull request #28 from trydofor/develop
Browse files Browse the repository at this point in the history
🚀 optional alt; add warroom; bump 2.7.2.SS
  • Loading branch information
trydofor authored Mar 4, 2024
2 parents d17c370 + 1c20778 commit 6eda088
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release-To-OssRh
name: Release to Maven Repo
run-name: Release ${{ github.ref_name }} by @${{ github.event_name }}

on:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
echo "- MVN_DEPLOY_OSSRH=$_drh" >> "$GITHUB_STEP_SUMMARY"
echo "MVN_DEPLOY_OSSRH=$_drh" >> "$GITHUB_OUTPUT"
_drp=${{ ( inputs.deployAltrh || github.event_name == 'release' ) && secrets.MVN_ALT_USER != '' }}
_drp=${{ secrets.MVN_ALT_USER != '' && ( inputs.deployAltrh || github.event_name == 'push' ) }}
echo "- MVN_DEPLOY_ALTRH=$_drp" >> "$GITHUB_STEP_SUMMARY"
echo "MVN_DEPLOY_ALTRH=$_drp" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -189,6 +189,7 @@ jobs:
## maven deploy altrh
- name: Deploy ALT ${{ steps.settings.outputs.WINGS_VERSION }} ${{ steps.settings.outputs.GIT_BRANCH }}
if: steps.settings.outputs.MVN_DEPLOY_ALTRH == 'true'
continue-on-error: ${{ inputs.deployAltrh != 'true' }}
run: >
mvn
-P 'deploy,altrh'
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/warroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
workflow_dispatch:

name: Warroom for Actions

jobs:
create-release-notes:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Prepare Settings
id: settings
run: |
echo "# env and var" >> "$GITHUB_STEP_SUMMARY"
echo "" >> "$GITHUB_STEP_SUMMARY"
_user=${{ github.actor }}
echo "- ACTION_NAME=$_user" >> "$GITHUB_STEP_SUMMARY"
echo "ACTION_NAME=$_user" >> "$GITHUB_OUTPUT"
_mail=${{ format('{0}+{1}@users.noreply.github.com', github.actor_id, github.actor) }}
echo "- ACTION_MAIL=$_mail" >> "$GITHUB_STEP_SUMMARY"
echo "ACTION_MAIL=$_mail" >> "$GITHUB_OUTPUT"
_owner=${{ github.repository_owner }}
echo "- OWNER=$_owner" >> "$GITHUB_STEP_SUMMARY"
echo "OWNER=$_owner" >> "$GITHUB_OUTPUT"
_repo=$(basename ${{ github.repository }})
echo "- REPO_NAME=$_repo" >> "$GITHUB_STEP_SUMMARY"
echo "REPO_NAME=$_repo" >> "$GITHUB_OUTPUT"
echo "## workspace" >> "$GITHUB_STEP_SUMMARY"
ls -al >> "$GITHUB_STEP_SUMMARY"
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</issueManagement>

<properties>
<revision>2.7.1-SNAPSHOT</revision>
<revision>2.7.2-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down

0 comments on commit 6eda088

Please sign in to comment.