Skip to content

Commit

Permalink
Add SHA256 checksums in release-cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed May 23, 2024
1 parent 2debe8a commit 2ff3038
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ jobs:
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-cmake.tar.gz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.tar.gz > ${{ github.ref_name }}-cmake.tar.gz.txt
tar -cJf ${{ github.ref_name }}-cmake.tar.xz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.tar.xz > ${{ github.ref_name }}-cmake.tar.xz.txt
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-cmake.tar.gz
${{ github.ref_name }}-cmake.tar.gz.txt
${{ github.ref_name }}-cmake.tar.xz
${{ github.ref_name }}-cmake.tar.xz.txt
release-windows-cmake:
runs-on: windows-latest
Expand All @@ -51,13 +55,17 @@ jobs:
shell: cmd
run: |
7z a ${{ github.ref_name }}-cmake.zip ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.zip > ${{ github.ref_name }}-cmake.zip.txt
7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.7z > ${{ github.ref_name }}-cmake.7z.txt
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-cmake.zip
${{ github.ref_name }}-cmake.zip.txt
${{ github.ref_name }}-cmake.7z
${{ github.ref_name }}-cmake.7z.txt
release-posix-b2-nodocs:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -86,13 +94,17 @@ jobs:
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-b2-nodocs.tar.gz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.tar.gz > ${{ github.ref_name }}-b2-nodocs.tar.gz.txt
tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.tar.xz > ${{ github.ref_name }}-b2-nodocs.tar.xz.txt
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-b2-nodocs.tar.gz
${{ github.ref_name }}-b2-nodocs.tar.gz.txt
${{ github.ref_name }}-b2-nodocs.tar.xz
${{ github.ref_name }}-b2-nodocs.tar.xz.txt
release-windows-b2-nodocs:
runs-on: windows-latest
Expand Down Expand Up @@ -122,10 +134,14 @@ jobs:
shell: cmd
run: |
7z a ${{ github.ref_name }}-b2-nodocs.zip ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.zip > ${{ github.ref_name }}-b2-nodocs.zip.txt
7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.7z > ${{ github.ref_name }}-b2-nodocs.7z.txt
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-b2-nodocs.zip
${{ github.ref_name }}-b2-nodocs.zip.txt
${{ github.ref_name }}-b2-nodocs.7z
${{ github.ref_name }}-b2-nodocs.7z.txt

0 comments on commit 2ff3038

Please sign in to comment.