forked from red-hat-data-services/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1007 Bytes
/
create-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: Create release
on:
workflow_dispatch:
inputs:
release_tag:
description: "Release Tag:"
type: string
target_branch:
description: "Target Branch:"
type: string
workflow_call:
inputs:
release_tag:
description: "Release Tag:"
type: string
target_branch:
description: "Target Branch:"
type: string
env:
RELEASE_TAG: ${{ inputs.release_tag }}
TARGET_BRANCH: ${{ inputs.target_branch }}
permissions:
contents: write
jobs:
release:
name: Create opendatahub-io/kubeflow release
runs-on: ubuntu-22.04
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Invoke script to handle creating release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
./.github/scripts/create-release.sh