mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-25 23:06:09 +03:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Build Unsigned
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '.idea/**'
|
|
- '.gitattributes'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '.idea/**'
|
|
- '.gitattributes'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
jobs:
|
|
BuildUnsigned:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: 11
|
|
- 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') }}
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- name: Build
|
|
run: ./gradlew --no-daemon app:assembleFossRelease
|