Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
repository: 'OpenVoxProject/openvox-server'
- project: openvoxdb
repository: 'OpenVoxProject/openvoxdb'
outputs:
openvoxdb: ${{ steps.upload-artifacts-openvoxdb.outputs.artifact-url }}
openvoxserver: ${{ steps.upload-artifacts-openvoxserver.outputs.artifact-url }}
steps:
- name: checkout openvox-server
uses: actions/checkout@v6
Expand Down Expand Up @@ -112,19 +115,37 @@ jobs:
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
- name: Upload build artifacts
uses: actions/upload-artifact@v6
id: upload-artifacts-${{ matrix.project }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:sad-face:
matrix isn't available for ids?

with:
name: ${{ matrix.project }}-${{ steps.version.outputs.describe }}-ezbake-${{ needs.get-ezbake-version.outputs.ezbake_version }}
path: output/
retention-days: 1 # quite low retention, because the artifacts are quite large
overwrite: true # overwrite old artifacts if a PR runs again (artifacts are per PR * per project)

comment-on-pr:
runs-on: ubuntu-24.04
needs:
- build
steps:
- name: Add reactions
uses: peter-evans/create-or-update-comment@v5
with:
body: |-
## Build Preview

[![badge]](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})

The rpm/deb packages for openvox-server and openvoxdb are available in two zip archives:
${{ toJSON(needs.build.outputs) }}

tests:
if: always()
needs:
- test
- validate-staging-templates
- build
- get-ezbake-version
- comment-on-pr
runs-on: ubuntu-24.04
name: Test suite
steps:
Expand Down