ops: Fix staging
Some checks failed
ci / build-and-test (pull_request) Has been cancelled
ci / docker-build (pull_request) Has been cancelled

This commit is contained in:
Brock Allen
2024-01-28 01:21:17 +00:00
parent 57cccd1cf2
commit 63a82cff81

View File

@@ -22,7 +22,7 @@ jobs:
-
name: Restore docker image
id: cache-docker
uses: https://github.com/actions/cache@v3
uses: actions/cache@v3
with:
path: /tmp/docker
key: ${{ runner.os }}-docker-${{ hashFiles('builder.Dockerfile') }}
@@ -45,7 +45,7 @@ jobs:
-
name: Restore docker image
id: cache-docker
uses: https://github.com/actions/cache@v3
uses: actions/cache@v3
with:
path: /tmp/docker
key: ${{ runner.os }}-docker-${{ hashFiles('builder.Dockerfile') }}
@@ -80,13 +80,12 @@ jobs:
mkdir -p "$staging"
cp -r tests/unittest/build/artifacts/gcov "$staging"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITEA_ENV
-
name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: reports-${{gitea.run_number}}
path: ${{ env.ASSET }}
path: reports-${{gitea.run_number}}.tar.gz
retention-days: 3
# TODO: delete cache on merge.