File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 8585 repository : ' OpenVoxProject/openvox-server'
8686 - project : openvoxdb
8787 repository : ' OpenVoxProject/openvoxdb'
88+ outputs :
89+ openvoxdb : ${{ steps.upload-artifacts-openvoxdb.outputs.artifact-url }}
90+ openvoxserver : ${{ steps.upload-artifacts-openvoxserver.outputs.artifact-url }}
8891 steps :
8992 - name : checkout openvox-server
9093 uses : actions/checkout@v6
@@ -112,19 +115,37 @@ jobs:
112115 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
113116 - name : Upload build artifacts
114117 uses : actions/upload-artifact@v6
118+ id : upload-artifacts-${{ matrix.project }}
115119 with :
116120 name : ${{ matrix.project }}-${{ steps.version.outputs.describe }}-ezbake-${{ needs.get-ezbake-version.outputs.ezbake_version }}
117121 path : output/
118122 retention-days : 1 # quite low retention, because the artifacts are quite large
119123 overwrite : true # overwrite old artifacts if a PR runs again (artifacts are per PR * per project)
120124
125+ comment-on-pr :
126+ runs-on : ubuntu-24.04
127+ needs :
128+ - build
129+ steps :
130+ - name : Add reactions
131+ uses : peter-evans/create-or-update-comment@v5
132+ with :
133+ body : |-
134+ ## Build Preview
135+
136+ [![badge]](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
137+
138+ The rpm/deb packages for openvox-server and openvoxdb are available in two zip archives:
139+ ${{ toJSON(needs.build.outputs) }}
140+
121141 tests :
122142 if : always()
123143 needs :
124144 - test
125145 - validate-staging-templates
126146 - build
127147 - get-ezbake-version
148+ - comment-on-pr
128149 runs-on : ubuntu-24.04
129150 name : Test suite
130151 steps :
You can’t perform that action at this time.
0 commit comments