2021-05-24 15:20:45 +08:00
|
|
|
name: Build Unsigned
|
2021-06-17 22:10:03 +08:00
|
|
|
on:
|
2022-06-16 15:24:43 +08:00
|
|
|
workflow_dispatch:
|
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:
|
2022-06-16 15:24:43 +08:00
|
|
|
arguments: --no-daemon app:assembleMeta-AlphaRelease
|