@@ -58,18 +58,18 @@ jobs:
5858 - name : Export checksum info for release notes
5959 run : |
6060 pushd ${{ github.workspace }}/vcpkg
61- sha1sum installed/openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip > ../openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha1
61+ sha256sum installed/openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip > ../openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha256
6262 popd
6363 - name : Upload zipped libraries as artifact
6464 uses : actions/upload-artifact@v4
6565 with :
6666 name : openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip
6767 path : ${{ github.workspace }}/vcpkg/installed/openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip
68- - name : Upload sha1 as artifact
68+ - name : Upload sha256 as artifact
6969 uses : actions/upload-artifact@v4
7070 with :
71- name : openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha1
72- path : ${{ github.workspace }}/openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha1
71+ name : openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha256
72+ path : ${{ github.workspace }}/openrct2-libs-v${{ needs.get_version.outputs.version }}-${{ matrix.triplet }}.zip.sha256
7373 macos-build :
7474 name : macOS
7575 runs-on : macos-14
@@ -145,25 +145,25 @@ jobs:
145145 uses : actions/download-artifact@v4
146146 with :
147147 merge-multiple : true
148- - name : Concatenate sha1 files
148+ - name : Concatenate sha256 files
149149 run : |
150150 ls -lR
151151 pushd ${{ github.workspace }}
152- sha1sum openrct2-libs-v${{ needs.get_version.outputs.version }}-*.zip > openrct2-libs-v${{ needs.get_version.outputs.version }}-sha1sums .txt
152+ sha256sum openrct2-libs-v${{ needs.get_version.outputs.version }}-*.zip > openrct2-libs-v${{ needs.get_version.outputs.version }}-sha256sums .txt
153153 popd
154154 - name : Create release notes
155155 run : |
156156 echo "Release notes for version ${{ needs.get_version.outputs.version }}" > release_notes.txt
157157 echo "" >> release_notes.txt
158- echo "SHA1 checksums:" >> release_notes.txt
158+ echo "SHA256 checksums:" >> release_notes.txt
159159 echo "\`\`\`" >> release_notes.txt
160- cat openrct2-libs-v${{ needs.get_version.outputs.version }}-sha1sums .txt >> release_notes.txt
160+ cat openrct2-libs-v${{ needs.get_version.outputs.version }}-sha256sums .txt >> release_notes.txt
161161 echo "\`\`\`" >> release_notes.txt
162162 echo "" >> release_notes.txt
163163 - name : Create release
164164 uses : softprops/action-gh-release@v2
165165 with :
166166 files : |
167- openrct2-libs-v${{ needs.get_version.outputs.version }}-sha1sums .txt
167+ openrct2-libs-v${{ needs.get_version.outputs.version }}-sha256sums .txt
168168 openrct2-libs-v${{ needs.get_version.outputs.version }}-*.zip
169169 body_path : release_notes.txt
0 commit comments