This commit is contained in:
10
.github/workflows/update.yml
vendored
10
.github/workflows/update.yml
vendored
@@ -8,16 +8,14 @@ jobs:
|
||||
steps:
|
||||
- name: 输出当前目录环境
|
||||
run: pwd && ls -ahl
|
||||
- name: 输出github环境变量
|
||||
run: echo 'github相关 ${{ toJSON(github) }}'
|
||||
- name: 拷贝文件
|
||||
run: cd ../ && cp -r . /root/runner/
|
||||
- name: 发送通知
|
||||
id: use-go-action
|
||||
uses: https://git.aweoo.com/action/gotify@latest
|
||||
with:
|
||||
username: foo
|
||||
- name: Print Output
|
||||
url: https://gotify.aweoo.com
|
||||
token: test_token
|
||||
title: GotifyAction版本更新
|
||||
- name: 打印上一步的输出
|
||||
run: echo 'output time is ${{ steps.use-go-action.outputs.time }}'
|
||||
- name: 错误处理
|
||||
if: ${{ failure() }}
|
||||
|
||||
Reference in New Issue
Block a user