Skip to content

Commit

Permalink
added crc32 for rpd files
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtaylor1982 committed Dec 8, 2024
1 parent e5107a5 commit c8ad4b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
steps:
- name: download artifacts
uses: actions/download-artifact@v4

- name: Install rhash
run: sudo apt-get -y install rhash

- name: Copy, tag with version and create SHA256 checksum
run: |
Expand All @@ -35,6 +38,8 @@ jobs:
sha256sum OutputFiles_10M16_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M16_${{ github.ref_name }}.pof.sha256
sha256sum OutputFiles_10M04_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M04_${{ github.ref_name }}.pof.sha256
sha256sum OutputFiles_10M02_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M02_${{ github.ref_name }}.pof.sha256
rhash -C OutputFiles_10M16_${{ github.ref_name }}.zip/resdmac_cfm0_auto.rpd > ./releases/RESDMAC_10M16_${{ github.ref_name }}.rpd.crc32
rhash -C OutputFiles_10M04_${{ github.ref_name }}.zip/resdmac_cfm0_auto.rpd > ./releases/RESDMAC_10M04_${{ github.ref_name }}.rpd.crc32
- name: Create a new GitHub release
uses: softprops/action-gh-release@v2
Expand All @@ -51,6 +56,8 @@ jobs:
./releases/RESDMAC_10M02_${{ github.ref_name }}.pof
./releases/RESDMAC_10M16_${{ github.ref_name }}.rpd
./releases/RESDMAC_10M04_${{ github.ref_name }}.rpd
./releases/RESDMAC_10M16_${{ github.ref_name }}.rpd.crc32
./releases/RESDMAC_10M04_${{ github.ref_name }}.rpd.crc32
./releases/RESDMAC_10M16_${{ github.ref_name }}.pof.sha256
./releases/RESDMAC_10M04_${{ github.ref_name }}.pof.sha256
./releases/RESDMAC_10M02_${{ github.ref_name }}.pof.sha256
Expand Down

0 comments on commit c8ad4b1

Please sign in to comment.