Picage Auto Sign #132
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Picage Auto Sign | |
| on: | |
| schedule: | |
| # 上海时区当天 8:15 和 16:15(对应 UTC 当天 00:15 和当天 8:15) | |
| - cron: '15 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| bika_sign: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| env: | |
| TZ: Asia/Shanghai # 全局时区设置 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: 显示当前时间 | |
| run: | | |
| echo "UTC 时间: $(date -u '+%F %T')" | |
| echo "北京时间: $(date '+%F %T')" | |
| - uses: ./.github/actions/build-setup | |
| - name: Sign | |
| env: | |
| BIKA_USER: ${{ secrets.BIKA_USER }} | |
| BIKA_PASS: ${{ secrets.BIKA_PASS }} | |
| DINGTALK_ACCESS_TOKEN: ${{ secrets.DINGTALK_ACCESS_TOKEN }} | |
| run: pnpm sign:bika |