-
Notifications
You must be signed in to change notification settings - Fork 60
35 lines (30 loc) · 1016 Bytes
/
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
name: Release Plugin
on:
workflow_dispatch:
inputs:
version:
description: "Semantic version of the target release"
required: true
jobs:
publish-plugin:
name: Publish plugin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: 17
# # - name: Gradle wrapper validation
# # uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: karn/gradle-github-publish@v1
with:
publishing-directory: "releases"
publishing-project-name: "notify"
publishing-project-description: "Simplified notification construction and delivery for Android."
publishing-project-url: "https://github.com/karn/notify"
publishing-artifact-group: "io.karn"
publishing-artifact-id: "notify"
publishing-artifact-version: "${{ inputs.version }}"