mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-04-08 11:42:04 +00:00
chore: Update build-unsigned.yaml
This commit is contained in:
parent
9d69a88c73
commit
6b5aef7694
1 changed files with 10 additions and 2 deletions
12
.github/workflows/build-unsigned.yaml
vendored
12
.github/workflows/build-unsigned.yaml
vendored
|
@ -1,5 +1,8 @@
|
|||
name: Build Unsigned
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -8,17 +11,21 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive --remote
|
||||
|
||||
- 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.20"
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
|
@ -27,6 +34,7 @@ jobs:
|
|||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Build
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue