[github] Fix digest artifact name (#6710)

This commit is contained in:
Jesse Hills 2024-05-09 21:25:48 +12:00
parent 819bb9f8bc
commit bd776baf8d
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

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