Run TgBot++ #43
This file contains 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: Run TgBot++ | |
on: | |
workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3.5.3 | |
- name: Set up dependencies | |
run: | | |
bash setup_dependencies_apt.sh | |
- name: Build | |
run: | | |
mkdir build | |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release . | |
cmake --build build | |
- name: Host | |
env: | |
TOKEN: ${{ secrets.BOT_TOKEN }} | |
run: | | |
cd build | |
./TgBot++_main |