Skip to content

Commit

Permalink
Independently executable build-sm
Browse files Browse the repository at this point in the history
  • Loading branch information
carlreid committed Feb 12, 2025
1 parent c949304 commit 4d62df4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/Manual_Publish_Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
path: basever

build-build:
needs: setup
needs: [setup, build-base]
if: ${{ inputs.build_build || inputs.build_all }}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -128,7 +128,12 @@ jobs:
path: buildver

build-sm:
needs: [setup]
needs: |
${{
(inputs.build_build || inputs.build_all) && needs.build-build.result != 'skipped'
&& fromJSON('["setup", "build-build"]')
|| fromJSON('["setup"]')
}}
if: ${{ inputs.build_sm || inputs.build_all }}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -195,7 +200,12 @@ jobs:
path: smver

build-final:
needs: [setup]
needs: |
${{
(inputs.build_sm || inputs.build_all) && needs.build-sm.result != 'skipped'
&& fromJSON('["setup", "build-sm"]')
|| fromJSON('["setup"]')
}}
if: ${{ !inputs.skip_main_build || inputs.build_all }}
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4d62df4

Please sign in to comment.