Fix artifact paths

This commit is contained in:
jgromes 2024-12-31 18:11:04 +01:00
parent d847f561ac
commit 7b6fdcd411

View file

@ -197,7 +197,7 @@ jobs:
- name: Upload size report as artifact - name: Upload size report as artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: size-file-${{ steps.short-hash.outputs.short_sha }}-${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ steps.split.outputs._2 }} name: size-file-${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ steps.split.outputs._2 }}
path: extras/test/ci/size_${{ steps.short-hash.outputs.short_sha }}_${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ steps.split.outputs._2 }}.csv path: extras/test/ci/size_${{ steps.short-hash.outputs.short_sha }}_${{ steps.split.outputs._0 }}-${{ steps.split.outputs._1 }}-${{ steps.split.outputs._2 }}.csv
metrics: metrics:
@ -224,8 +224,8 @@ jobs:
ls -R aggregated-sizes ls -R aggregated-sizes
mkdir -p radiolib-ci/l0 mkdir -p radiolib-ci/l0
cd radiolib-ci/l0 cd radiolib-ci/l0
cp aggregated-sizes/size_*.csv radiolib-ci/l0/. cp aggregated-sizes/*/size_*.csv radiolib-ci/l0/.
rm -r aggregated-sizes/size_*.csv rm -r aggregated-sizes
git add . git add .
git commit -m "Push artifacts from $GITHUB_REPOSITORY ${{ steps.short-hash.outputs.short_sha }}" git commit -m "Push artifacts from $GITHUB_REPOSITORY ${{ steps.short-hash.outputs.short_sha }}"
git push origin main git push origin main