Skip to content

Commit

Permalink
feat: Config
Browse files Browse the repository at this point in the history
  • Loading branch information
dango2887 committed Aug 30, 2023
1 parent ce36e42 commit 84e6c2d
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions .github/workflows/push_lib_widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,48 +47,48 @@ jobs:
# run: |
# ./gradlew :lib:widget:publish

build:
runs-on: ubuntu-latest

# container:
# image: registry.cn-shanghai.aliyuncs.com/dango/android_ci:latest # 指定您的自定义 Docker 镜像及其标签
# options: --platform linux/amd64
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: 打印环境变量
run: |
env
- name: Display Commit SHA
run: |
echo "Current Commit SHA: ${{ github.sha }}"
- name: Display Branch/Tag Name
run: |
echo "Current Ref: ${{ github.ref }}"
- name: Display Commit Author
run: |
echo "Commit Author: ${{ github.actor }}"
echo "Commit Author: ${{ github.actor }}"
- name: Display Repository Name
run: |
echo "Repository: ${{ github.repository }}"
# 获取git log
- name: Get git log
id: git_log
run: |
pwd
git config --global --add safe.directory /__w/DangoUnit/DangoUnit
updateLog=`git log --pretty=format:"%s" -1`
echo "updateLog=$updateLog" >> $GITHUB_ENV
git log --pretty=format:"%s" -1
- name: Show Latest Commit
run: |
git log -n 1
# build:
# runs-on: ubuntu-latest
#
## container:
## image: registry.cn-shanghai.aliyuncs.com/dango/android_ci:latest # 指定您的自定义 Docker 镜像及其标签
## options: --platform linux/amd64
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: 打印环境变量
# run: |
# env
#
# - name: Display Commit SHA
# run: |
# echo "Current Commit SHA: ${{ github.sha }}"
#
# - name: Display Branch/Tag Name
# run: |
# echo "Current Ref: ${{ github.ref }}"
#
# - name: Display Commit Author
# run: |
# echo "Commit Author: ${{ github.actor }}"
# echo "Commit Author: ${{ github.actor }}"
#
# - name: Display Repository Name
# run: |
# echo "Repository: ${{ github.repository }}"
#
# # 获取git log
# - name: Get git log
# id: git_log
# run: |
# pwd
# git config --global --add safe.directory /__w/DangoUnit/DangoUnit
# updateLog=`git log --pretty=format:"%s" -1`
# echo "updateLog=$updateLog" >> $GITHUB_ENV
# git log --pretty=format:"%s" -1
#
# - name: Show Latest Commit
# run: |
# git log -n 1

0 comments on commit 84e6c2d

Please sign in to comment.