mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
Remove unused workflow and related files.
We don't need these anymore.
This commit is contained in:
parent
7ad0a9ad87
commit
950937f6e9
9
.github/checkrun.py
vendored
9
.github/checkrun.py
vendored
@ -1,15 +1,12 @@
|
||||
from json import load
|
||||
from os import system
|
||||
|
||||
f = open('commit.json')
|
||||
data = load(f)
|
||||
f.close()
|
||||
|
||||
data = data['commit']['message']
|
||||
with open("commit.json", "r") as f:
|
||||
data = load(f)["commit"]["message"]
|
||||
|
||||
if "\n\n" in data:
|
||||
if data.split("\n\n", 1)[-1].split()[0] == "[SILENT]":
|
||||
system('killall -9 python')
|
||||
system("killall -9 python")
|
||||
else:
|
||||
print("Silence not found")
|
||||
else:
|
||||
|
12
.github/compiler.sh
vendored
12
.github/compiler.sh
vendored
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ~
|
||||
sudo apt-get update -y
|
||||
sudo apt-get upgrade -y
|
||||
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang-10 libc++-dev libc++abi-dev
|
||||
git clone --recursive https://github.com/tdlib/telegram-bot-api.git
|
||||
rm -rf telegram-bot-api/build
|
||||
mkdir -p telegram-bot-api/build
|
||||
cd telegram-bot-api/build
|
||||
CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-10 CXX=/usr/bin/clang++-10 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=.. ..
|
||||
cmake --build . --target install
|
32
.github/workflows/api-compiler.yml
vendored
32
.github/workflows/api-compiler.yml
vendored
@ -1,32 +0,0 @@
|
||||
name: Bot API Compiler
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
debug-builds:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Prepare for Compilation
|
||||
run: |
|
||||
git config --global user.name "alefvanoon"
|
||||
git config --global user.email "53198048+alefvanoon@users.noreply.github.com"
|
||||
git config --global credential.helper store
|
||||
echo "https://alefvanoon:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
|
||||
|
||||
- name: Run Script
|
||||
run: |
|
||||
chmod 755 .github/compiler.sh
|
||||
.github/compiler.sh
|
||||
|
||||
- name: Upload to Archive
|
||||
run: |
|
||||
git clone https://github.com/LibreTubeAlpha/Archive bot-api
|
||||
rm -rf bot-api/exec
|
||||
mv ~/telegram-bot-api/bin/telegram-bot-api bot-api/exec
|
||||
cd bot-api
|
||||
git add -f *
|
||||
git commit -m "WORKFLOW: BUILD BINARIES"
|
||||
git push -u
|
Loading…
Reference in New Issue
Block a user