Skip to content

Commit

Permalink
(ci): Don't use txt extension, set content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Feb 22, 2021
1 parent 68b3f0d commit fdffd8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ jobs:
with:
upload_url: ${{env.ARTIFACT_URL}}
asset_path: ./artifacts/sha512.txt
asset_name: "glibc-bin-${{env.GLIBC_VERSION}}-r${{env.REVISION}}-${{matrix.platform}}.tar.gz.sha512.txt"
asset_name: "glibc-bin-${{env.GLIBC_VERSION}}-r${{env.REVISION}}-${{matrix.platform}}.tar.gz.sha512"
asset_content_type: text/plain
# Create a SHA256 of the artifact and upload it
- name: Create SHA256 of artifact
run: $(cd artifacts && sha256sum ${{ matrix.platform }}.tar.gz > sha256.txt)
Expand All @@ -119,7 +120,8 @@ jobs:
with:
upload_url: ${{env.ARTIFACT_URL}}
asset_path: ./artifacts/sha256.txt
asset_name: "glibc-bin-${{env.GLIBC_VERSION}}-r${{env.REVISION}}-${{matrix.platform}}.tar.gz.sha256.txt"
asset_name: "glibc-bin-${{env.GLIBC_VERSION}}-r${{env.REVISION}}-${{matrix.platform}}.tar.gz.sha256"
asset_content_type: text/plain
# ---------------
# Cleanup stage:
# GitHub Actions artifacts only last 90 days anyways, and are no use to us once the job has passed.
Expand Down

0 comments on commit fdffd8b

Please sign in to comment.