-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.11 KB
/
release.yml
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
name: Release Java
run-name: Cut Release ${{github.event.inputs.release-version || github.ref_name}}
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+\+java' # ex. v1.0.0_java
workflow_dispatch:
inputs:
release-version:
description: "Release version (v#.#.#[-rc#])+java"
required: true
env:
NEW_RELEASE_TAG_FROM_UI: ${{github.event.inputs.release-version}}
NEW_RELEASE_TAG: ${{github.event.inputs.release-version || github.ref_name}}
LATEST_FULL_RELEASE_TAG: _LATEST-FULL-RELEASE
TEST_RUN: ${{contains(github.event.inputs.release-version || github.ref_name, '-rc')}}
jobs:
build-artifacts:
name: test
runs-on: ubuntu-latest
steps:
- name: setup files
run: |
touch test1.sources.jar
touch test1.jar
ls
- name: print event
run: |
echo ${{github.event}}
echo ${{github.event_path}}
cat /home/runner/work/_temp/_github_workflow/event.json
echo ${{github.event_name}}