GitHub Action
Release archive with hash
v1.1.0
Latest version
Upload a source archive and hash at every tagged release.
GitHub source archives are generated on demand and not guaranteed to have a consistent hash; e.g. a source archive at a specific commit may have a different hash 6 months from now! This is a problem when trying to verify that old releases have not changed.
This tool uploads a release archive (that will have the same hash in perpetuity regardless of GitHub's source downloads cache invalidation schedule) and a text file containing the hash of the archive.
name: Upload a source archive and hash at every tagged release
on:
push:
tags:
# Use pattern matching to only run on version release tags
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: carterbox/release-archive-with-hash@main