-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 962 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
36
37
38
39
40
name: release
on:
push:
tags:
# When any release tag is pushed
- 'v[0-9]+.[0-9]+.[0-9]+.[0-9]+.[0-9]+'
jobs:
helium-release:
runs-on: ubuntu-latest
environment: CI
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Clear potential environment variable conflicts
run: unset VERSION_OVERRIDE
- name: Build with Gradle
env:
JFROG_USER: ${{ secrets.JFROG_USER }}
JFROG_PASS: ${{ secrets.JFROG_PASS }}
CHARTBOOST_MEDIATION_IS_RELEASE: 'true'
run: ./gradlew ci artifactoryPublish
- name: Github Release
uses: ncipollo/release-action@v1
with:
artifacts: VerveAdapter/build/outputs/aar/*.aar