Skip to content

Commit 13e4eb1

Browse files
committed
Include artifacts hashes together with release
1 parent 043c536 commit 13e4eb1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,16 @@ 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+
sha1sum build/bin/cod4x_*.dll > hashes.txt
3840
3941
- name: Publish release
4042
if: startsWith(github.ref, 'refs/tags/')
4143
uses: ncipollo/release-action@v1
4244
with:
4345
allowUpdates: true
4446
tag: ${{ github.ref_name }}
45-
artifacts: "build/bin/cod4x_*.dll"
47+
artifacts: "build/bin/cod4x_*.dll,hashes.txt"
4648
token: ${{ secrets.GITHUB_TOKEN }}
4749

0 commit comments

Comments
 (0)