File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
+ detect-runner :
11
+ runs-on : [self-hosted, Linux, X64]
12
+ outputs :
13
+ is_self_hosted : ${{ steps.set_output.outputs.self_hosted }}
14
+ steps :
15
+ - id : set_output
16
+ run : echo "self_hosted=true" >> $GITHUB_OUTPUT
17
+
10
18
bump :
19
+ needs : detect-runner
11
20
uses : UnterrainerInformatik/bump-semver-workflow/.github/workflows/workflow.yml@master
21
+ with :
22
+ self_hosted : ${{ needs.detect-runner.outputs.is_self_hosted }}
23
+
12
24
build :
13
25
name : Build and publish to Maven Central 🚀
14
- needs : bump
26
+ needs : [ bump, detect-runner]
15
27
uses : UnterrainerInformatik/maven-central-workflow/.github/workflows/workflow.yml@master
16
28
with :
29
+ self_hosted : ${{ needs.detect-runner.outputs.is_self_hosted }}
17
30
major_version : ${{ needs.bump.outputs.major_version }}
18
31
minor_version : ${{ needs.bump.outputs.minor_version }}
19
32
build_version : ${{ needs.bump.outputs.build_version }}
You can’t perform that action at this time.
0 commit comments