2021-05-24 15:20:45 +08:00
|
|
|
name: Build Unsigned
|
2021-06-17 22:10:03 +08:00
|
|
|
on:
|
|
|
|
push:
|
2021-09-11 18:33:51 +08:00
|
|
|
branches:
|
|
|
|
- main
|
2021-06-17 22:10:03 +08:00
|
|
|
paths-ignore:
|
2022-02-21 11:21:00 +08:00
|
|
|
- '.github/**'
|
2021-06-17 22:10:03 +08:00
|
|
|
- '.idea/**'
|
2021-09-13 18:34:34 +08:00
|
|
|
- '.gitattributes'
|
2021-06-17 22:10:03 +08:00
|
|
|
- '.gitignore'
|
|
|
|
- '.gitmodules'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
|
|
|
- 'NOTICE'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-02-21 11:21:00 +08:00
|
|
|
- '.github/**'
|
2021-06-17 22:10:03 +08:00
|
|
|
- '.idea/**'
|
2021-09-13 18:34:34 +08:00
|
|
|
- '.gitattributes'
|
2021-06-17 22:10:03 +08:00
|
|
|
- '.gitignore'
|
|
|
|
- '.gitmodules'
|
|
|
|
- '**.md'
|
|
|
|
- 'LICENSE'
|
|
|
|
- 'NOTICE'
|
2022-03-22 18:41:06 +08:00
|
|
|
|
2021-05-24 15:20:45 +08:00
|
|
|
jobs:
|
|
|
|
BuildUnsigned:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
2022-03-22 18:41:06 +08:00
|
|
|
uses: actions/checkout@v3
|
2021-05-24 15:20:45 +08:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Setup Java
|
2022-03-22 18:41:06 +08:00
|
|
|
uses: actions/setup-java@v3
|
2021-05-24 15:20:45 +08:00
|
|
|
with:
|
2022-03-22 18:41:06 +08:00
|
|
|
distribution: 'zulu'
|
|
|
|
java-version: 17
|
2021-05-24 15:20:45 +08:00
|
|
|
- name: Setup Go
|
2022-03-22 18:41:06 +08:00
|
|
|
uses: actions/setup-go@v3
|
2021-05-24 15:20:45 +08:00
|
|
|
with:
|
2022-03-22 18:41:06 +08:00
|
|
|
go-version: 1.18
|
2022-03-22 20:36:31 +08:00
|
|
|
- uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.cache/go-build
|
|
|
|
~/go/pkg/mod
|
|
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-go-
|
2021-05-24 15:20:45 +08:00
|
|
|
- name: Build
|
2022-03-22 18:41:06 +08:00
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
with:
|
|
|
|
arguments: --no-daemon app:assembleFossRelease
|