Skip to content

Commit

Permalink
Create build-tdlight-linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
azkadev committed Feb 7, 2022
1 parent c9d6c51 commit a99b293
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-tdlight-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build TDLIGHT Bot Api Linux
on: [workflow_dispatch]
jobs:
build:
name: Build Apps
runs-on: ubuntu-latest
steps:
- name: Export Release Timestamp
run: echo "APP_VERSION=v$(date +'%Y.%m.%d.%H.%M.%S')" >> $GITHUB_ENV
- name: Install Depends
run: sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev
- name: Clone Repo telegram bot api
run: |
git clone --recursive https://github.com/tdlight-team/tdlight-telegram-bot-api.git
cd tdlight-telegram-bot-api
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
- name: Release Apps
uses: ncipollo/release-action@v1
with:
tag: ${{ env.APP_VERSION }}
name: Telegram Bot Api Linux
token: ${{ secrets.TOKEN }}
artifacts: 'tdlight-telegram-bot-api/build/telegram-bot-api'

0 comments on commit a99b293

Please sign in to comment.