Skip to content

打印提交信息 by @Dango-dx #68

打印提交信息 by @Dango-dx

打印提交信息 by @Dango-dx #68

Workflow file for this run

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
environment:
name: publish
# 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: prepare
run: |
env
- name: publish
env:
mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}
signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}
signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYID }}
signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
run: |
export JAVA_HOME=$JAVA_HOME_17_X64
export ORG_GRADLE_PROJECT_mavenCentralUsername=$mavenCentralUsername
export ORG_GRADLE_PROJECT_mavenCentralPassword=$mavenCentralPassword
export ORG_GRADLE_PROJECT_signingInMemoryKey=$signingInMemoryKey
export ORG_GRADLE_PROJECT_signingInMemoryKeyId=$signingInMemoryKeyId
export ORG_GRADLE_PROJECT_signingInMemoryKeyPassword=$signingInMemoryKeyPassword
env
chmod +x ./gradlew
./gradlew :lib:widget:publish
continue-on-error: true
- name: Upload
uses: actions/upload-artifact@v2
with:
name: aar
path: ./lib/widget/build/outputs/aar/