[github] Fix digest artifact name (#6710)

This commit is contained in:
Jesse Hills 2024-05-09 21:25:48 +12:00 committed by GitHub
parent ca031287a1
commit 78d1a50853
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -132,10 +132,16 @@ jobs:
suffix: lint suffix: lint
version: ${{ needs.init.outputs.tag }} version: ${{ needs.init.outputs.tag }}
- name: Sanitize platform name
id: sanitize
run: |
echo "${{ matrix.platform }}" | sed 's|/|-|g' > /tmp/platform
echo name=$(cat /tmp/platform) >> $GITHUB_OUTPUT
- name: Upload digests - name: Upload digests
uses: actions/upload-artifact@v4.3.3 uses: actions/upload-artifact@v4.3.3
with: with:
name: digests-${{ matrix.platform }} name: digests-${{ steps.sanitize.outputs.name }}
path: /tmp/digests path: /tmp/digests
retention-days: 1 retention-days: 1