Skip to content

修复 GitHub Actions workflow: 升级 checkout 版本, 添加执行权限和错误日志 #41

修复 GitHub Actions workflow: 升级 checkout 版本, 添加执行权限和错误日志

修复 GitHub Actions workflow: 升级 checkout 版本, 添加执行权限和错误日志 #41

Workflow file for this run

name: 提交 habitica 任务
on: [push]
jobs:
Finish-Habitica-Tasks:
runs-on: ubuntu-latest
steps:
- name: Check out habash code
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: nasfarley88/habash
- name: 确保 habash 可执行
run: chmod +x ./habash
- name: 提交 habitica 任务
run: |
set -x
./habash up "写博客"
env:
HABITICA_TOKEN: ${{ secrets.HABITICA_TOKEN }}
HABITICA_UUID: ${{ secrets.HABITICA_UUID }}