-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1.03 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
# This workflow will publish qaf artifacts
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
name: tag release
on:
workflow_dispatch:
inputs:
version:
description: 'version-num'
required: true
default: '3.2'
build:
description: 'build-num'
required: true
default: '0-SNAPSHOT'
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Ant
run: |
ant -noinput -buildfile build.xml tag-release-all -Dskip.download=false -D"release.num=${{ github.event.inputs.version }}.${{ github.event.inputs.build }}" -D"ivy.revision=${{ github.event.inputs.version }}.${{ github.event.inputs.build }}"
env:
GITHUB_TOKEN: ${{secrets.GIT_TOKEN}}