Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
b14c75f9c6 | |||
9d664404f5 | |||
1db8e3a50a | |||
68fb5d1b21 | |||
44d2b447ca | |||
b3b974942d |
@@ -24,7 +24,6 @@ jobs:
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 11
|
||||
cache: gradle
|
||||
|
||||
- run: java -version
|
||||
|
||||
@@ -36,12 +35,6 @@ jobs:
|
||||
|
||||
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
|
||||
- name: WeChat Work notification
|
||||
uses: seepine/action-wechat-work@master
|
||||
if: ${{ !secrets.WECHAT_WORK_BOT_WEBHOOK }}
|
||||
env:
|
||||
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
|
||||
with:
|
||||
msgtype: markdown
|
||||
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
||||
> 镜像: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
||||
- name: Notification
|
||||
if: ${{ secrets.BARK_TOKEN != '' }}
|
||||
run: curl 'https://api.day.app/${{ secrets.BARK_TOKEN }}/GiteaActions/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} build success.?icon=https://gitea.io/images/gitea.png&group=GiteaActions'
|
Reference in New Issue
Block a user