Post Build Action -- revert-73-feature/IKDT-797-remove-autoservice #29
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
name: Post Build Action | |
run-name: 'Post Build Action -- ${{github.event.workflow_run.head_branch}}' | |
on: | |
workflow_run: | |
workflows: | |
- Build Workflow | |
types: | |
- completed | |
permissions: | |
contents: write | |
jobs: | |
post-build: | |
name: Post Build Actions | |
runs-on: ubuntu-24.04 | |
if: github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'ikmdev' | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{github.event.workflow_run.head_repository.full_name}} | |
ref: ${{github.event.workflow_run.head_branch}} | |
fetch-depth: 0 | |
- name: IKMDEV Post Build Action | |
id: ikmdev_post_build | |
uses: ikmdev/[email protected] | |
with: | |
nexus_repo_password: ${{secrets.EC2_NEXUS_PASSWORD}} | |
branch_name: ${{github.event.workflow_run.head_branch}} | |
github_token: ${{secrets.GITHUB_TOKEN}} | |
ossrh_username: ${{secrets.OSSRH_TOKEN_USER}} | |
ossrh_token: ${{secrets.OSSRH_TOKEN_PASS}} | |
gpg_key: ${{secrets.GPG_KEY}} | |
gpg_passphrase: ${{secrets.GPG_PASSPHRASE}} | |
sonarcloud_token: ${{ secrets.SONAR_TOKEN }} | |
sonarcloud_tests: ${{ '' }} |