2021-05-24 10:20:45 +03:00
|
|
|
name: Build Unsigned
|
2021-06-17 17:10:03 +03:00
|
|
|
on:
|
2023-10-22 10:57:35 +03:00
|
|
|
pull_request:
|
|
|
|
types: [opened, reopened, synchronize]
|
2022-06-16 10:24:43 +03:00
|
|
|
workflow_dispatch:
|
2022-03-22 13:41:06 +03:00
|
|
|
|
2021-05-24 10:20:45 +03:00
|
|
|
jobs:
|
|
|
|
BuildUnsigned:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
2022-03-22 13:41:06 +03:00
|
|
|
uses: actions/checkout@v3
|
2023-10-22 10:57:35 +03:00
|
|
|
|
|
|
|
- name: Checkout submodules
|
|
|
|
run: git submodule update --init --recursive --remote --force
|
|
|
|
|
2021-05-24 10:20:45 +03:00
|
|
|
- name: Setup Java
|
2022-03-22 13:41:06 +03:00
|
|
|
uses: actions/setup-java@v3
|
2021-05-24 10:20:45 +03:00
|
|
|
with:
|
2022-03-22 13:41:06 +03:00
|
|
|
distribution: 'zulu'
|
|
|
|
java-version: 17
|
2023-10-22 10:57:35 +03:00
|
|
|
|
2021-05-24 10:20:45 +03:00
|
|
|
- name: Setup Go
|
2022-03-22 13:41:06 +03:00
|
|
|
uses: actions/setup-go@v3
|
2021-05-24 10:20:45 +03:00
|
|
|
with:
|
2023-02-05 05:28:58 +03:00
|
|
|
go-version: "1.20"
|
2023-10-22 10:57:35 +03:00
|
|
|
|
2022-03-22 15:36:31 +03: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-
|
2023-10-22 10:57:35 +03:00
|
|
|
|
2021-05-24 10:20:45 +03:00
|
|
|
- name: Build
|
2022-03-22 13:41:06 +03:00
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
with:
|
2022-06-16 10:24:43 +03:00
|
|
|
arguments: --no-daemon app:assembleMeta-AlphaRelease
|