ops: Add back GITHUB_ENV usage
This commit is contained in:
@@ -98,12 +98,13 @@ jobs:
|
|||||||
mkdir -p "$staging"
|
mkdir -p "$staging"
|
||||||
cp -r tests/unittest/build/artifacts/gcov "$staging"
|
cp -r tests/unittest/build/artifacts/gcov "$staging"
|
||||||
tar czf "$staging.tar.gz" "$staging"
|
tar czf "$staging.tar.gz" "$staging"
|
||||||
|
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
||||||
-
|
-
|
||||||
name: Archive artifacts
|
name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: reports-${{gitea.run_number}}
|
name: reports-${{gitea.run_number}}
|
||||||
path: reports-${{gitea.run_number}}.tar.gz
|
path: ${{ env.ASSET }}
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
# TODO: delete cache on merge.
|
# TODO: delete cache on merge.
|
||||||
|
|||||||
Reference in New Issue
Block a user