Skip to content

Commit

Permalink
Do not call specific steps and release job for normal workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Oct 13, 2024
1 parent 788de5f commit 72f4902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
fetch-depth: 0

- name: Update Version in CMakeLists
if: inputs.publish-version
run: |
publish_version="${{ inputs.publish-version }}"
cmake_version=$(grep -Po '(?<=set\s*\(\s*CMAKE_PROJECT_VERSION\s*")[0-9]+\.[0-9]+\.[0-9]+' CMakeLists.txt)
Expand Down Expand Up @@ -138,6 +139,7 @@ jobs:
release:
runs-on: ubuntu
needs: build
if: inputs.publish-version
steps:
- name: Update Version in CMakeLists
run: |
Expand Down

0 comments on commit 72f4902

Please sign in to comment.