Skip to content

Commit

Permalink
[github] release validation
Browse files Browse the repository at this point in the history
  • Loading branch information
MrsRina authored Apr 7, 2024
1 parent 195067e commit fe0189f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
run: echo ::set-output name=message::$(git log --format=%B -n 1 ${{ github.sha }})

- name: Release Condition
if: "!startsWith(steps.check_commit_message.outputs.message, '[release]')"
if: startsWith(steps.check_commit_message.outputs.message, '[release]')
id: release_condition
run: exit 0

- name: Configure CMake
if: steps.release_condition.outcome != 'sucess'
if: steps.release_condition.outcome == 'success'
run: >
cmake -B ${{ github.workspace }}/cmake-build-debug
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
Expand Down

0 comments on commit fe0189f

Please sign in to comment.