From 6330db7192dad3d7339e16971b9923c7420e7f73 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 11 Oct 2022 18:30:33 -0500 Subject: [PATCH] Get rid of the github actions --- .github/workflows/experimental.yml | 36 ------------------------------ .github/workflows/main.yml | 36 ------------------------------ .github/workflows/test.yml | 36 ------------------------------ .pre-commit-config.yaml | 30 ------------------------- 4 files changed, 138 deletions(-) delete mode 100644 .github/workflows/experimental.yml delete mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/test.yml delete mode 100644 .pre-commit-config.yaml diff --git a/.github/workflows/experimental.yml b/.github/workflows/experimental.yml deleted file mode 100644 index f14fec9..0000000 --- a/.github/workflows/experimental.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 6e93f09..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index c33e422..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 0859dab..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -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$"