-
Notifications
You must be signed in to change notification settings - Fork 20
40 lines (35 loc) · 1.27 KB
/
post_build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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: ${{ '' }}