-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (44 loc) · 1.34 KB
/
AA.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 打印提交信息
run-name: 打印提交信息 by @${{ github.actor }}
on: [push]
jobs:
print_env:
uses: Dango-dx/ReusableWorkflows/.github/workflows/print_github_info.yml@master
print_a:
uses: Dango-dx/ReusableWorkflows/.github/workflows/publish_maven_central.yml@master
with:
module_path: :lib:widget
artifact_name: lib_test
version_name: 1.3.5
job0:
runs-on: ubuntu-latest
# container:
# 指定您的自定义 Docker 镜像及其标签
# image: registry.cn-shanghai.aliyuncs.com/dango/android_ci:latest
# platform
# options: --platform linux/amd64
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 发布
run: |
export JAVA_HOME=$JAVA_HOME_17_X64
env
chmod +x ./gradlew && ./gradlew :lib:widget:publish
continue-on-error: true
- name: check
run: |
cd ./app/build/outputs/apk/release/
ls -a
continue-on-error: true
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: my-artifacts
path: ./app/build/outputs/apk/release/
continue-on-error: true
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: aar4
path: ./lib/widget/build/outputs/aar/