Skip to content

Commit f8e7d5f

Browse files
authored
Add upload step for logging sample app in release workflow (#7808)
1 parent f1ef840 commit f8e7d5f

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,18 @@ jobs:
211211
cat /tmp/install_prefix | xargs -i bash -c "PYTHON_PACKAGE_PATH=../python ./recovery_benchmark.sh {}"
212212
shell: bash
213213

214-
- name: "Test Building a Sample Against Installed CCF"
214+
- name: "Test Building `logging` Sample App Against Installed CCF"
215215
run: |
216216
set -ex
217217
./tests/test_install_build.sh
218218
shell: bash
219219

220+
- name: "Upload `logging` Sample App"
221+
uses: actions/upload-artifact@v7
222+
with:
223+
name: logging
224+
path: build_against_install/logging
225+
220226
- name: "Upload .rpm Package"
221227
uses: actions/upload-artifact@v7
222228
with:
@@ -463,6 +469,10 @@ jobs:
463469
with:
464470
path: sbom
465471
name: sbom
472+
- name: Download Logging Sample App
473+
uses: actions/download-artifact@v8
474+
with:
475+
name: logging
466476
- name: Download Reproducibility Metadata
467477
uses: actions/download-artifact@v8
468478
with:
@@ -473,7 +483,7 @@ jobs:
473483
set -ex
474484
CCF_VERSION=${{ github.ref_name }}
475485
CCF_VERSION=${CCF_VERSION#ccf-}
476-
gh release create --title $CCF_VERSION --draft --notes-file rel-notes.md ${{ github.ref_name }} pkg/* wheel/*.whl tstgz/*.tgz sbom/* tls_report.html compatibility_report.json repro/* ./reproduce/start_container_and_reproduce_rpm.sh
486+
gh release create --title $CCF_VERSION --draft --notes-file rel-notes.md ${{ github.ref_name }} pkg/* wheel/*.whl tstgz/*.tgz sbom/* tls_report.html compatibility_report.json repro/* logging ./reproduce/start_container_and_reproduce_rpm.sh
477487
shell: bash
478488
env:
479489
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)