Skip to content

Commit 94d3814

Browse files
authored
update
1 parent e13ce63 commit 94d3814

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/pipeline.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,17 @@ on:
77
workflow_dispatch:
88

99
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=${{ contains(runner.labels, 'self-hosted') }}" >> $GITHUB_OUTPUT
17-
1810
bump:
19-
needs: detect-runner
2011
uses: UnterrainerInformatik/bump-semver-workflow/.github/workflows/workflow.yml@master
2112
with:
22-
self_hosted: ${{ needs.detect-runner.outputs.is_self_hosted }}
13+
self_hosted: true
2314

2415
build:
2516
name: Build and publish to Maven Central 🚀
26-
needs: [bump, detect-runner]
17+
needs: bump
2718
uses: UnterrainerInformatik/maven-central-workflow/.github/workflows/workflow.yml@master
2819
with:
29-
self_hosted: ${{ needs.detect-runner.outputs.is_self_hosted }}
20+
self_hosted: true
3021
major_version: ${{ needs.bump.outputs.major_version }}
3122
minor_version: ${{ needs.bump.outputs.minor_version }}
3223
build_version: ${{ needs.bump.outputs.build_version }}

0 commit comments

Comments
 (0)