mirror of
https://github.com/ryanvolz/radioconda.git
synced 2025-04-22 11:18:58 -04:00
Add sha256 hashing for built installers.
This commit is contained in:
parent
fb049d6246
commit
42667480f5
11
.github/workflows/build_radioconda.yml
vendored
11
.github/workflows/build_radioconda.yml
vendored
@ -103,6 +103,17 @@ jobs:
|
||||
conda info
|
||||
conda list
|
||||
|
||||
- name: Calculate sha256 hash
|
||||
shell: bash
|
||||
env:
|
||||
OS_NAME: ${{ matrix.OS_NAME }}
|
||||
ARCH: ${{ matrix.ARCH }}
|
||||
run: |
|
||||
for INSTALLER_PATH in dist/$DISTNAME-*-$OS_NAME-$ARCH.*; do
|
||||
HASH_PATH="$INSTALLER_PATH.sha256"
|
||||
sha256sum $INSTALLER_PATH > $HASH_PATH
|
||||
done
|
||||
|
||||
- name: Upload to Github artifact
|
||||
if: ${{ (success() || failure()) && !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: actions/upload-artifact@v2
|
||||
|
Loading…
Reference in New Issue
Block a user