Skip to content

Commit 3e193ce

Browse files
committed
Include artifacts hashes together with release
1 parent 043c536 commit 3e193ce

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@ jobs:
3434
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -DOFFICIAL_BUILD=ON
3535
3636
- name: Build
37-
run: cmake --build build --parallel
37+
run: |
38+
cmake --build build --parallel
39+
ln -s build/bin/cod4x_*.dll .
40+
sha1sum cod4x_*.dll > hashes.txt
3841
3942
- name: Publish release
4043
if: startsWith(github.ref, 'refs/tags/')
4144
uses: ncipollo/release-action@v1
4245
with:
4346
allowUpdates: true
4447
tag: ${{ github.ref_name }}
45-
artifacts: "build/bin/cod4x_*.dll"
48+
artifacts: "build/bin/cod4x_*.dll,hashes.txt"
4649
token: ${{ secrets.GITHUB_TOKEN }}
4750

0 commit comments

Comments
 (0)