Skip to content

Commit

Permalink
Fix and verify create-release
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <[email protected]>
  • Loading branch information
artursouza committed Sep 19, 2024
1 parent 2ae7c34 commit ad7252a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
create-release:
name: Creates release branch and tag
runs-on: ubuntu-latest
env:
JDK_VER: 17
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -34,6 +36,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install pcre2-utils
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ env.JDK_VER }}
- name: Create release branch and tag
env:
GITHUB_TOKEN: ${{ secrets.DAPR_BOT_TOKEN }}
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/verify-create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# Copyright 2024 The Dapr Authors
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Validate create release

on:
pull_request:
branches:
- master
- release-*

jobs:
create-release:
name: Creates release branch and tag
runs-on: ubuntu-latest
env:
JDK_VER: 17
steps:
- uses: actions/checkout@v4
- name: Verify release branch and tag
env:
DAPR_RELEASE_DRY_RUN: "true"
run:
./.github/scripts/update_sdk_version.sh 1.99
./.github/scripts/update_docs.sh 1.99

0 comments on commit ad7252a

Please sign in to comment.