File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 2828 - run : bundle env
2929 working-directory : resources/puppetlabs/lein-ezbake/template/global
3030
31+ get-ezbake-version :
32+ name : get ezbake version
33+ runs-on : ubuntu-24.04
34+ outputs :
35+ ezbake_version : ${{ steps.version.outputs.ezbake_version }}
36+ steps :
37+ - uses : actions/checkout@v6
38+ # install clojure tools
39+ - name : Install Clojure tools
40+ uses : DeLaGuardo/setup-clojure@13.4
41+ with :
42+ lein : latest # Leiningen
43+ # used during the openvoxserver/db builds
44+ - name : Get release version
45+ id : version
46+ run : echo "ezbake_version=$(lein update-in :plugins conj '[lein-pprint "1.3.2"]' -- pprint :version | tr -d '\"')" >> "$GITHUB_OUTPUT"
47+
3148 test :
3249 runs-on : ubuntu-24.04
3350 needs : validate-staging-templates
5976 name : build ${{ matrix.project }}
6077 runs-on : ubuntu-24.04
6178 needs :
62- - test
79+ - get-ezbake-version
6380 strategy :
6481 fail-fast : false
6582 matrix :
@@ -86,13 +103,15 @@ jobs:
86103 env :
87104 EZBAKE_REPO : " https://github.com/${{ github.repository }}" # https://github.com/actions/checkout?tab=readme-ov-file#usage
88105 EZBAKE_BRANCH : $GITHUB_REF # https://docs.github.com/en/actions/reference/workflows-and-actions/variables
106+ EZBAKE_VERSION : ${{ needs.get-ezbake-version.outputs.ezbake_version }} # ensures that we used the built version of ezbake and don't pull from clojars.org
89107
90108 tests :
91109 if : always()
92110 needs :
93111 - test
94112 - validate-staging-templates
95113 - build
114+ - get-ezbake-version
96115 runs-on : ubuntu-24.04
97116 name : Test suite
98117 steps :
You can’t perform that action at this time.
0 commit comments