2021-05-24 10:20:45 +03:00
|
|
|
name: Build Unsigned
|
2021-06-17 17:10:03 +03:00
|
|
|
on:
|
|
|
|
push:
|
2021-09-11 13:33:51 +03:00
|
|
|
branches:
|
|
|
|
- main
|
2021-06-17 17:10:03 +03:00
|
|
|
paths-ignore:
|
2022-02-21 06:21:00 +03:00
|
|
|
- '.github/**'
|
2021-06-17 17:10:03 +03:00
|
|
|
- '.idea/**'
|
2021-09-13 13:34:34 +03:00
|
|
|
- '.gitattributes'
|
2021-06-17 17:10:03 +03:00
|
|
|
- '.gitignore'
|
|
|
|
- '.gitmodules'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
|
|
|
- 'NOTICE'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-02-21 06:21:00 +03:00
|
|
|
- '.github/**'
|
2021-06-17 17:10:03 +03:00
|
|
|
- '.idea/**'
|
2021-09-13 13:34:34 +03:00
|
|
|
- '.gitattributes'
|
2021-06-17 17:10:03 +03:00
|
|
|
- '.gitignore'
|
|
|
|
- '.gitmodules'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
|
|
|
- 'NOTICE'
|
2021-05-24 10:20:45 +03:00
|
|
|
jobs:
|
|
|
|
BuildUnsigned:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Setup Java
|
2021-09-13 12:20:03 +03:00
|
|
|
uses: actions/setup-java@v2
|
2021-05-24 10:20:45 +03:00
|
|
|
with:
|
2021-09-13 12:20:03 +03:00
|
|
|
distribution: 'adopt'
|
2021-05-24 10:20:45 +03:00
|
|
|
java-version: 11
|
2021-09-24 06:15:07 +03:00
|
|
|
- name: Gradle cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: ~/.gradle/caches
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/**.kt') }}
|
2021-05-24 10:20:45 +03:00
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2021-09-11 09:53:09 +03:00
|
|
|
go-version: 1.17
|
2021-05-24 10:20:45 +03:00
|
|
|
- name: Build
|
2021-09-13 13:34:34 +03:00
|
|
|
run: ./gradlew --no-daemon app:assembleFossRelease
|