github: provide nl-unescape script to BV trigger job

Need to check out the ci-actions repo first (where the nl-unescape.sh
script is located).

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein 2023-03-01 14:51:52 +11:00
parent 5fcec5f56a
commit aa53e9a84c
No known key found for this signature in database
GPG Key ID: 20A847CE6AB7F5F3
1 changed files with 6 additions and 1 deletions

View File

@ -81,6 +81,11 @@ jobs:
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Get scripts from ci-actions repo
uses: actions/checkout@v3
with:
repository: seL4/ci-actions
path: ci-actions
- name: Check for C graph-lang artifacts
id: enabled
env:
@ -89,7 +94,7 @@ jobs:
# Check if there are any C graph-lang artifacts
if [ -e artifacts/c-graph-lang ]; then
echo "C graph-lang artifacts found, will trigger binary verification"
echo -n "${MANIFEST}"| nl-unescape.sh > verification-manifest.xml
echo -n "${MANIFEST}"| ./ci-actions/scripts/nl-unescape.sh > verification-manifest.xml
echo "::set-output name=enabled::true"
else
echo "No C graph-lang artifacts found, will not trigger binary verification"