mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
Get rid of the github actions
This commit is contained in:
parent
40547a9b3f
commit
6330db7192
4 changed files with 0 additions and 138 deletions
36
.github/workflows/experimental.yml
vendored
36
.github/workflows/experimental.yml
vendored
|
@ -1,36 +0,0 @@
|
|||
name: ReVanced Experimental Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Java JDK
|
||||
uses: actions/setup-java@v3.3.0
|
||||
with:
|
||||
java-version: "17"
|
||||
distribution: "adopt"
|
||||
|
||||
- name: Download APKs from APKMirror
|
||||
run: ./download_apkmirror.sh
|
||||
|
||||
- name: Build APKs, force patches on untested YouTube versions
|
||||
run: ./build_revanced.sh experimental
|
||||
|
||||
- name: Set current date as env variable
|
||||
run: echo "date_now=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
- uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
draft: true
|
||||
title: "Release ${{ env.date_now }}"
|
||||
files: |
|
||||
build/*.apk
|
||||
vanced-microG.apk
|
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
|
@ -1,36 +0,0 @@
|
|||
name: ReVanced Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Java JDK
|
||||
uses: actions/setup-java@v3.3.0
|
||||
with:
|
||||
java-version: "17"
|
||||
distribution: "adopt"
|
||||
|
||||
- name: Download APKs from APKMirror
|
||||
run: ./download_apkmirror.sh
|
||||
|
||||
- name: Build APKs
|
||||
run: ./build_revanced.sh
|
||||
|
||||
- name: Set current date as env variable
|
||||
run: echo "date_now=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
- uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
draft: true
|
||||
title: "Release ${{ env.date_now }}"
|
||||
files: |
|
||||
build/*.apk
|
||||
vanced-microG.apk
|
36
.github/workflows/test.yml
vendored
36
.github/workflows/test.yml
vendored
|
@ -1,36 +0,0 @@
|
|||
name: ReVanced Test Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Java JDK
|
||||
uses: actions/setup-java@v3.3.0
|
||||
with:
|
||||
java-version: "17"
|
||||
distribution: "adopt"
|
||||
|
||||
- name: Download APKs from APKMirror
|
||||
run: ./download_apkmirror.sh
|
||||
|
||||
- name: Test Build APKs
|
||||
run: |
|
||||
./build_revanced.sh
|
||||
# for filename in build/revanced-root.apk build/revanced-nonroot.apk build/revanced-music-root.apk build/revanced-music-nonroot.apk; do
|
||||
for filename in build/revanced-nonroot.apk build/revanced-music-nonroot.apk; do
|
||||
if [ -e "$filename" ]; then
|
||||
printf '"%s" exists\n' "$filename"
|
||||
else
|
||||
echo "APK build failed"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
rm -rf build
|
|
@ -1,30 +0,0 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
---
|
||||
# fail_fast: true
|
||||
minimum_pre_commit_version: 1.18.1
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
exclude: ".(md|rst)$"
|
||||
- id: end-of-file-fixer
|
||||
- id: check-merge-conflict
|
||||
- id: mixed-line-ending
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 2.1.5
|
||||
hooks:
|
||||
- id: git-check # Configure in .gitattributes
|
||||
- id: shellcheck
|
||||
exclude: ".bats$"
|
||||
args: [ "-e", "SC2068" ]
|
||||
- id: shfmt
|
||||
exclude: ".bats$"
|
||||
args: ["-i", "4"]
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
rev: v1.1.7
|
||||
hooks:
|
||||
- id: remove-crlf
|
||||
exclude: ".bat$"
|
Loading…
Reference in a new issue