forked from 2dust/v2rayNG
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6047941
commit 7e4f363
Showing
1 changed file
with
69 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |