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 3e193ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ 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
ln -s build/bin/cod4x_*.dll .
sha1sum 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 3e193ce

Please sign in to comment.