-
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (39 loc) · 978 Bytes
/
release.yml
File metadata and controls
42 lines (39 loc) · 978 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
35
36
37
38
39
40
41
42
---
name: "tagged-release"
on:
push:
tags:
- "*.*.*"
paths-ignore:
- "docs/**"
- "travis.yml"
- "README.md"
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 17
- uses: eskatos/gradle-command-action@v1
with:
arguments: test
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: eskatos/gradle-command-action@v1
with:
arguments: jars
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
build/libs/*.jar
- uses: eskatos/gradle-command-action@v1
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}