-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 844 Bytes
/
build.yaml
File metadata and controls
34 lines (31 loc) · 844 Bytes
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
name: Manually package
on:
workflow_dispatch:
inputs:
branch:
description: 'Test Branch'
required: true
default: 'main'
jobs:
test:
name: Deploy package
timeout-minutes: 30
continue-on-error: true
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.branch}}
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
- name: Build with Gradle
run: ./gradlew -b build-github.gradle build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: build/libs