Skip to content

Commit

Permalink
Don't call build on push and syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bandogora committed Feb 13, 2024
1 parent 3f2710c commit 0b9f8a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: Build
on:
push:
branches: [ main ]
workflow_call:
workflow_dispatch:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
echo "tag=$tag" >> "$GITHUB_OUTPUT"
release:
if: jobs.version_check.outputs.version_up == 'true'
if: ${{ jobs.version_check.outputs.version_up == 'true' }}
needs: version_check
uses: ./.github/workflows/release.yml
with:
version_tag: ${{ jobs.version_check.outputs.version_tag }}
secrets: inherit

build:
if: jobs.version_check.outputs.version_up == 'false'
if: ${{ jobs.version_check.outputs.version_up == 'false' }}
needs: version_check
uses: ./.github/workflows/build.yml
secrets: inherit

0 comments on commit 0b9f8a3

Please sign in to comment.