Skip to content

Commit

Permalink
testing, release build binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
galkahana committed Jun 9, 2024
1 parent 58f9ab2 commit 60280f8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-release-binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: create-reelease-binaries

on:
release:
types:
- created

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build with CMake
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload to release
run: |
for f in $(find . -name 'build/recrypt/release/*'); do
gh release upload ${{ github.event.release.tag_name }} $f
done

0 comments on commit 60280f8

Please sign in to comment.