File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : create-release
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ RELEASE_VERSION :
7+ description : ' Release version (e.g. 1.0.0)'
8+ required : true
9+ NEXT_DEV_VERSION :
10+ description : ' Next development version (e.g. 1.0.1-SNAPSHOT)'
11+ required : true
12+
13+ jobs :
14+ job :
15+ runs-on : ubuntu-latest
16+ permissions :
17+ contents : write
18+
19+ steps :
20+ - name : Init the github-actions repo
21+ uses : aerius/github-actions/init@v1.1
22+
23+ - uses : ./aerius-github-actions/extras/maven-release-action
24+ with :
25+ DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
26+ RELEASE_VERSION : ${{ github.event.inputs.RELEASE_VERSION }}
27+ NEXT_DEV_VERSION : ${{ github.event.inputs.NEXT_DEV_VERSION }}
Original file line number Diff line number Diff line change 1- name : push-event
1+ name : code-push
22
33on :
44 push :
5+ branches :
6+ - ' main'
7+ - ' **_fixes'
58
69jobs :
710 job :
1316
1417 - uses : ./aerius-github-actions/events/push-event-action
1518 with :
16- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1719 NEXUS_USERNAME : ${{ secrets.NEXUS_USERNAME }}
1820 NEXUS_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
1921 # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} // left out for now
Original file line number Diff line number Diff line change 1- name : release-published-event
1+ name : new-tag
22
33on :
4- release :
5- types : [published]
4+ push :
5+ tags :
6+ - ' **'
67
78jobs :
89 job :
1415
1516 - uses : ./aerius-github-actions/events/release-event-action
1617 with :
17- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1818 NEXUS_USERNAME : ${{ secrets.NEXUS_USERNAME }}
1919 NEXUS_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
2020 # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} left out for now
Original file line number Diff line number Diff line change 1- name : pull_request-opened-synchronize-reopened-event
1+ name : pull_request-opened-synchronize-reopened
22
33on :
44 pull_request :
1313 uses : aerius/github-actions/init@v1.1
1414
1515 - uses : ./aerius-github-actions/events/pull_request-event-action
16- with :
17- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments