Skip to content

Commit

Permalink
Include artifacts hashes together with release
Browse files Browse the repository at this point in the history
  • Loading branch information
proxict committed Jul 28, 2024
1 parent 043c536 commit 13e4eb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ jobs:
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
- name: Build
run: cmake --build build --parallel
run: |
cmake --build build --parallel
sha1sum build/bin/cod4x_*.dll > hashes.txt
- name: Publish release
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: ${{ github.ref_name }}
artifacts: "build/bin/cod4x_*.dll"
artifacts: "build/bin/cod4x_*.dll,hashes.txt"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 13e4eb1

Please sign in to comment.