This repository was archived by the owner on Aug 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +97
-25
lines changed
Expand file tree Collapse file tree 3 files changed +97
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : iapetus - default
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ schedule :
8+ - cron : " 0 6 * * 1" # At 03:00 on Monday
9+ workflow_dispatch :
10+
11+ jobs :
12+ build-snapshot :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Prepare Maven Cache
21+ uses : actions/cache@v4
22+ with :
23+ path : ~/.m2/repository
24+ key : ${{ runner.os }}-maven-${{ hashFiles('pom.xml', '*/pom.xml') }}
25+ restore-keys : |
26+ ${{ runner.os }}-maven-
27+
28+ - name : Setup JDK
29+ uses : actions/setup-java@v4
30+ with :
31+ java-version : 11
32+ distribution : corretto
33+
34+ - name : Build POM
35+ run : mvn package -B
36+
37+ notify-slack :
38+ needs : build-snapshot
39+ if : always()
40+ runs-on : ubuntu-22.04
41+ steps :
42+ - name : Notify Slack
43+ if : github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
44+ uses : iRoachie/slack-github-actions@v2.3.2
45+ env :
46+ SLACK_WEBHOOK_URL : ${{ vars.SLACK_WEBHOOK_URL }}
47+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1+ name : iapetus - release
2+
3+ on :
4+ release :
5+ types : [ created ]
6+
7+ jobs :
8+ build-release :
9+ uses : linked-planet/github-workflows/.github/workflows/build-release.yml@v6
10+ with :
11+ branch : ${{ github.event.repository.default_branch }}
12+ secrets :
13+ gh_user : ${{ vars.GH_USER }}
14+
15+ perform-release :
16+ needs :
17+ - build-release
18+ permissions :
19+ contents : write
20+ packages : write
21+ uses : linked-planet/github-workflows/.github/workflows/perform-release.yml@v6
22+ with :
23+ branch : ${{ github.event.repository.default_branch }}
24+ version : ${{ needs.build-release.outputs.version }}
25+ secrets :
26+ gh_user : ${{ vars.GH_USER }}
27+
28+ rollback-release :
29+ if : cancelled() || failure()
30+ permissions :
31+ contents : write
32+ needs :
33+ - build-release
34+ - perform-release
35+ uses : linked-planet/github-workflows/.github/workflows/rollback-release.yml@v6
36+ with :
37+ branch : ${{ github.event.repository.default_branch }}
38+ secrets :
39+ gh_user : ${{ vars.GH_USER }}
40+
41+ notify-slack :
42+ needs : rollback-release
43+ if : always()
44+ runs-on : ubuntu-22.04
45+ steps :
46+ - name : Notify Slack
47+ uses : iRoachie/slack-github-actions@v2.3.2
48+ env :
49+ SLACK_WEBHOOK_URL : ${{ vars.SLACK_WEBHOOK_URL }}
50+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments