forked from CatVodTVOfficial/TVBoxOSC
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 775 Bytes
/
test.yml
File metadata and controls
31 lines (29 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Test Build
on:
# push:
# branches:
# - main
# pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build With Gradle
run: |
chmod +x gradlew
./gradlew assemblerelease --build-cache --parallel --daemon --warning-mode all
- name: Prepare App
run: |
mkdir -p ${{ github.workspace }}/apk/
for file in `find ~ -name "*.apk" -print`; do
mv "$file" ${{ github.workspace }}/apk/
done
- name: Upload App To Artifact
uses: actions/upload-artifact@v3
with:
name: com.github.tvbox.osc
path: ${{ github.workspace }}/apk/*