File tree 2 files changed +41
-0
lines changed
2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 25
25
create-release :
26
26
name : Creates release branch and tag
27
27
runs-on : ubuntu-latest
28
+ env :
29
+ JDK_VER : 17
28
30
steps :
29
31
- name : Check out code
30
32
uses : actions/checkout@v4
34
36
run : |
35
37
sudo apt-get update
36
38
sudo apt-get install pcre2-utils
39
+ uses : actions/setup-java@v4
40
+ with :
41
+ distribution : ' adopt'
42
+ java-version : ${{ env.JDK_VER }}
37
43
- name : Create release branch and tag
38
44
env :
39
45
GITHUB_TOKEN : ${{ secrets.DAPR_BOT_TOKEN }}
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright 2024 The Dapr Authors
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+ #
13
+
14
+ name : Validate create release
15
+
16
+ on :
17
+ pull_request :
18
+ branches :
19
+ - master
20
+ - release-*
21
+
22
+ jobs :
23
+ create-release :
24
+ name : Creates release branch and tag
25
+ runs-on : ubuntu-latest
26
+ env :
27
+ JDK_VER : 17
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ - name : Verify release branch and tag
31
+ env :
32
+ DAPR_RELEASE_DRY_RUN : " true"
33
+ run :
34
+ ./.github/scripts/update_sdk_version.sh 1.99
35
+ ./.github/scripts/update_docs.sh 1.99
You can’t perform that action at this time.
0 commit comments