File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-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,36 @@ 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+ body : |-
133+ ## Build Preview
134+
135+ [![badge]](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
136+
137+ The rpm/deb packages for openvox-server and openvoxdb are available in two zip archives:
138+ ${{ toJSON(needs.build.outputs) }}
139+
121140 tests :
122141 if : always()
123142 needs :
124143 - test
125144 - validate-staging-templates
126145 - build
127146 - get-ezbake-version
147+ - comment-on-pr
128148 runs-on : ubuntu-24.04
129149 name : Test suite
130150 steps :
You can’t perform that action at this time.
0 commit comments