File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 8
8
description : Nightly version number (e.g. 20221125)
9
9
required : true
10
10
type : string
11
+ language :
12
+ description : Configured artefacts for the language will be built and pushed
13
+ required : true
14
+ type : choice
15
+ default : " ruby"
16
+ options :
17
+ - java
18
+ - ruby
19
+
20
+ env :
21
+ SEL_M2_USER : ${{ secrets.SEL_M2_USER }}
22
+ SEL_M2_PASS : ${{ secrets.SEL_M2_PASS }}
11
23
12
24
jobs :
13
25
ruby :
26
+ if : inputs.language == 'ruby'
14
27
name : Ruby
15
28
uses : ./.github/workflows/bazel.yml
16
29
strategy :
26
39
export GEM_HOST_API_KEY="Bearer $GITHUB_TOKEN"
27
40
bazel run //rb:${{ matrix.gem }}-bump-nightly-version ${{ inputs.version }}
28
41
bazel run //rb:${{ matrix.gem }}-release-nightly
42
+
43
+ java :
44
+ if : inputs.language == 'java'
45
+ name : Java
46
+ uses : ./.github/workflows/bazel.yml
47
+ with :
48
+ name : Release
49
+ cache-key : java-nightly
50
+ run : ./go publish-maven-snapshot
You can’t perform that action at this time.
0 commit comments