mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #2190 from TheCrowClub/remove-unused-workflow
Remove unused workflow and related files.
This commit is contained in:
commit
44ee95d82a
11
.github/checkrun.py
vendored
11
.github/checkrun.py
vendored
@ -1,15 +1,12 @@
|
|||||||
from json import load
|
from json import load
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
f = open('commit.json')
|
with open("commit.json", "r") as f:
|
||||||
data = load(f)
|
data = load(f)["commit"]["message"]
|
||||||
f.close()
|
|
||||||
|
|
||||||
data = data['commit']['message']
|
|
||||||
|
|
||||||
if "\n\n" in data:
|
if "\n\n" in data:
|
||||||
if data.split("\n\n",1)[-1].split()[0] == "[SILENT]":
|
if data.split("\n\n", 1)[-1].split()[0] == "[SILENT]":
|
||||||
system('killall -9 python')
|
system("killall -9 python")
|
||||||
else:
|
else:
|
||||||
print("Silence not found")
|
print("Silence not found")
|
||||||
else:
|
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