17
17
type : boolean
18
18
19
19
env :
20
- MODULE_ID : cbvalidation
20
+ MODULE_ID : ${{ github.event.repository.name }}
21
21
SNAPSHOT : ${{ inputs.snapshot || false }}
22
22
23
23
jobs :
@@ -26,10 +26,10 @@ jobs:
26
26
# #########################################################################################
27
27
build :
28
28
name : Build & Publish
29
- runs-on : ubuntu-20 .04
29
+ runs-on : ubuntu-24 .04
30
30
steps :
31
31
- name : Checkout Repository
32
- uses : actions/checkout@v3
32
+ uses : actions/checkout@v4
33
33
34
34
- name : Setup CommandBox
35
35
uses :
Ortus-Solutions/[email protected]
64
64
box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }}
65
65
66
66
- name : Commit Changelog To Master
67
-
67
+
68
68
if : env.SNAPSHOT == 'false'
69
69
with :
70
70
author_name : Github Actions
73
73
add : changelog.md
74
74
75
75
- name : Tag Version
76
- uses : rickstaa/action-create-tag@v1.6.1
76
+ uses : rickstaa/action-create-tag@v1.7.2
77
77
if : env.SNAPSHOT == 'false'
78
78
with :
79
79
tag : " v${{ env.VERSION }}"
82
82
83
83
- name : Upload Build Artifacts
84
84
if : success()
85
- uses : actions/upload-artifact@v3
85
+ uses : actions/upload-artifact@v4
86
86
with :
87
87
name : ${{ env.MODULE_ID }}
88
88
path : |
@@ -118,7 +118,7 @@ jobs:
118
118
box forgebox publish --force
119
119
120
120
- name : Create Github Release
121
- uses : taiki-e/create-gh-release-action@v1.6 .2
121
+ uses : taiki-e/create-gh-release-action@v1.8 .2
122
122
continue-on-error : true
123
123
if : env.SNAPSHOT == 'false'
124
124
with :
@@ -133,12 +133,12 @@ jobs:
133
133
prep_next_release :
134
134
name : Prep Next Release
135
135
if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
136
- runs-on : ubuntu-20 .04
136
+ runs-on : ubuntu-24 .04
137
137
needs : [ build ]
138
138
steps :
139
139
# Checkout development
140
140
- name : Checkout Repository
141
- uses : actions/checkout@v3
141
+ uses : actions/checkout@v4
142
142
with :
143
143
ref : development
144
144
@@ -148,7 +148,7 @@ jobs:
148
148
forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
149
149
150
150
- name : Download build artifacts
151
- uses : actions/download-artifact@v2
151
+ uses : actions/download-artifact@v4
152
152
with :
153
153
name : ${{ env.MODULE_ID }}
154
154
path : .tmp
@@ -165,7 +165,7 @@ jobs:
165
165
166
166
# Commit it back to development
167
167
- name : Commit Version Bump
168
-
168
+
169
169
with :
170
170
author_name : Github Actions
171
171
0 commit comments