Skip to content

Commit

Permalink
fix: per-app proxy disable
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed May 14, 2023
1 parent 6047941 commit 7e4f363
Showing 1 changed file with 69 additions and 70 deletions.
139 changes: 69 additions & 70 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
name: build_debug
on:
push:
# Sequence of patterns matched against refs/tags
branches:
- master
permissions:
contents: write
jobs:
BuildDebug:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
# name: build_debug
# on:
# push:
# # Sequence of patterns matched against refs/tags
# branches:
# - master
# permissions:
# contents: write
# jobs:
# BuildDebug:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v3

- name: Checkout submodules
run: git submodule update --init --recursive --remote
# - name: Checkout submodules
# run: git submodule update --init --recursive --remote

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
# - name: Setup Java
# uses: actions/setup-java@v3
# with:
# distribution: "zulu"
# java-version: 11

- name: release Build
if: success()
uses: gradle/gradle-build-action@v2
with:
# gradle-version: 7.2
arguments: --no-daemon app:assembleDebug
build-root-directory: V2rayNG
- name: release Build
if: success()
uses: gradle/gradle-build-action@v2
with:
# gradle-version: 7.2
arguments: --no-daemon app:assembleDebug
build-root-directory: V2rayNG
- name: apk files
run: |
find . -name "*.apk"
- name: Upload HiddifyNG_arm64-v8a to Artifacts
uses: actions/upload-artifact@v3
with:
name: HiddifyNG_arm64-v8a.apk
path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_arm64-v8a.apk
retention-days: 5
- name: Upload HiddifyNG_armeabi-v7a to Artifacts
uses: actions/upload-artifact@v3
with:
name: HiddifyNG_armeabi-v7a.apk
path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_armeabi-v7a.apk
retention-days: 5
- name: Upload HiddifyNG_null to Artifacts
uses: actions/upload-artifact@v3
with:
name: HiddifyNG.apk
path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG.apk
retention-days: 5

- name: Upload HiddifyNG_x86_64 to Artifacts
uses: actions/upload-artifact@v3
with:
name: HiddifyNG_x86_64.apk
path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_x86_64.apk
retention-days: 5

# - name: release Build
# if: success()
# uses: gradle/gradle-build-action@v2
# with:
# # gradle-version: 7.2
# arguments: --no-daemon app:assembleDebug
# build-root-directory: V2rayNG
# - name: release Build
# if: success()
# uses: gradle/gradle-build-action@v2
# with:
# # gradle-version: 7.2
# arguments: --no-daemon app:assembleDebug
# build-root-directory: V2rayNG
# - name: apk files
# run: |
# find . -name "*.apk"
# - name: Upload HiddifyNG_arm64-v8a to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: HiddifyNG_arm64-v8a.apk
# path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_arm64-v8a.apk
# retention-days: 5
# - name: Upload HiddifyNG_armeabi-v7a to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: HiddifyNG_armeabi-v7a.apk
# path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_armeabi-v7a.apk
# retention-days: 5
# - name: Upload HiddifyNG_null to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: HiddifyNG.apk
# path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG.apk
# retention-days: 5

- name: Upload HiddifyNG_x86 to Artifacts
uses: actions/upload-artifact@v3
with:
name: HiddifyNG_x86.apk
path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_x86.apk
retention-days: 5
# - name: Upload HiddifyNG_x86_64 to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: HiddifyNG_x86_64.apk
# path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_x86_64.apk
# retention-days: 5

# - name: Upload HiddifyNG_x86 to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: HiddifyNG_x86.apk
# path: ./V2rayNG/app/build/outputs/apk/debug/HiddifyNG_x86.apk
# retention-days: 5

0 comments on commit 7e4f363

Please sign in to comment.