2023-01-31 22:41:37 +08:00
|
|
|
name: 'test_Bt'
|
2023-01-31 22:22:11 +08:00
|
|
|
|
|
|
|
on:
|
2023-01-31 22:29:01 +08:00
|
|
|
workflow_dispatch:
|
2023-01-31 22:25:45 +08:00
|
|
|
schedule:
|
2023-01-31 23:11:53 +08:00
|
|
|
- cron: '0 0 * * 0'
|
2023-01-31 22:22:11 +08:00
|
|
|
|
|
|
|
jobs:
|
2023-01-31 22:41:37 +08:00
|
|
|
bot:
|
2023-01-31 22:22:11 +08:00
|
|
|
runs-on: ubuntu-latest
|
2023-01-31 22:44:02 +08:00
|
|
|
steps:
|
2023-01-31 22:39:56 +08:00
|
|
|
- name: 'Checkout codes'
|
2023-01-31 23:08:16 +08:00
|
|
|
uses: actions/checkout@v2
|
2023-01-31 22:44:02 +08:00
|
|
|
- name: 'Get Tracker'
|
|
|
|
run: bash ./bt.sh
|
2023-01-31 23:08:16 +08:00
|
|
|
- name: 'Upload firmware directory'
|
|
|
|
uses: actions/upload-artifact@main
|
|
|
|
name: tracker.txt
|
|
|
|
path: ${{env.FIRMWARE}}
|