@@ -28,8 +28,20 @@ defaults:
2828 shell : bash
2929
3030jobs :
31+ get_date :
32+ name : Get Date
33+ runs-on : ubuntu-latest
34+ outputs :
35+ date : ${{ steps.get_date.outputs.date }}
36+ steps :
37+ - name : Get current date
38+ id : get_date
39+ run : |
40+ echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
41+
3142 build-and-test :
3243 name : Build and Test
44+ needs : get_date
3345
3446 strategy :
3547 fail-fast : false
@@ -43,17 +55,17 @@ jobs:
4355 conan_profile : gcc
4456 build_type : Release
4557 static : true
46- container : ' { "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f " }'
58+ container : ' { "image": "ghcr.io/xrplf/clio-ci:14342e087ceb8b593027198bf9ef06a43833c696 " }'
4759 - os : heavy
4860 conan_profile : gcc
4961 build_type : Debug
5062 static : true
51- container : ' { "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f " }'
63+ container : ' { "image": "ghcr.io/xrplf/clio-ci:14342e087ceb8b593027198bf9ef06a43833c696 " }'
5264 - os : heavy
5365 conan_profile : gcc.ubsan
5466 build_type : Release
5567 static : false
56- container : ' { "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f " }'
68+ container : ' { "image": "ghcr.io/xrplf/clio-ci:14342e087ceb8b593027198bf9ef06a43833c696 " }'
5769
5870 uses : ./.github/workflows/reusable-build-test.yml
5971 with :
@@ -67,14 +79,16 @@ jobs:
6779 upload_clio_server : true
6880 download_ccache : false
6981 upload_ccache : false
82+ version : nightly-${{ needs.get_date.outputs.date }}
7083
7184 package :
7285 name : Build debian package
86+ needs : get_date
7387
7488 uses : ./.github/workflows/reusable-build.yml
7589 with :
7690 runs_on : heavy
77- container : ' { "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f " }'
91+ container : ' { "image": "ghcr.io/xrplf/clio-ci:14342e087ceb8b593027198bf9ef06a43833c696 " }'
7892 conan_profile : gcc
7993 build_type : Release
8094 download_ccache : false
@@ -83,19 +97,21 @@ jobs:
8397 static : true
8498 upload_clio_server : false
8599 package : true
100+ version : nightly-${{ needs.get_date.outputs.date }}
86101 targets : package
87102 analyze_build_time : false
88103
89104 analyze_build_time :
90105 name : Analyze Build Time
106+ needs : get_date
91107
92108 strategy :
93109 fail-fast : false
94110 matrix :
95111 include :
96112 - os : heavy
97113 conan_profile : clang
98- container : ' { "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f " }'
114+ container : ' { "image": "ghcr.io/xrplf/clio-ci:14342e087ceb8b593027198bf9ef06a43833c696 " }'
99115 static : true
100116 - os : macos15
101117 conan_profile : apple-clang
@@ -114,17 +130,7 @@ jobs:
114130 upload_clio_server : false
115131 targets : all
116132 analyze_build_time : true
117-
118- get_date :
119- name : Get Date
120- runs-on : ubuntu-latest
121- outputs :
122- date : ${{ steps.get_date.outputs.date }}
123- steps :
124- - name : Get current date
125- id : get_date
126- run : |
127- echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
133+ version : nightly-${{ needs.get_date.outputs.date }}
128134
129135 nightly_release :
130136 needs : [build-and-test, package, get_date]
0 commit comments