mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-17 00:43:32 +08:00
da3ee71dfd
* docs: update README.md - Fix the path and name of the release. - Format the style with markdownlint. * docs: fix apk name * ci: add paths-ignore for workflow
47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
name: Build Unsigned
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '.github/**'
|
|
- '.idea/**'
|
|
- '.gitignore'
|
|
- '.gitmodules'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'NOTICE'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '.github/**'
|
|
- '.idea/**'
|
|
- '.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@v1
|
|
with:
|
|
java-version: 11
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v2
|
|
- name: Setup Cmake & Ninja
|
|
uses: lukka/get-cmake@latest
|
|
- name: Build
|
|
run: ./gradlew --no-daemon app:assembleRelease |