mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-26 23:36:08 +03:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: Build Unsigned
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '.github/**'
|
|
- '.idea/**'
|
|
- '.gitattributes'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '.github/**'
|
|
- '.idea/**'
|
|
- '.gitattributes'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
|
|
jobs:
|
|
BuildUnsigned:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: 17
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18
|
|
- uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
~/.cache/go-build
|
|
~/go/pkg/mod
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-go-
|
|
- name: Build
|
|
uses: gradle/gradle-build-action@v2
|
|
with:
|
|
arguments: --no-daemon app:assembleFossRelease
|