Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch.yml #8

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

patch.yml #8

wants to merge 8 commits into from

Conversation

Maddy70
Copy link

@Maddy70 Maddy70 commented Apr 2, 2023

name: miuivs_patch_build

on:
workflow_dispatch:
inputs:
ROM_URL:
description: 'Services.jar Url'
required: true
default: ''
jobs:
build:
runs-on: ubuntu-latest

steps:
   - name: Checkout uses: actions/checkout@v2
   
   - name: Setting up
     run: |
        sudo apt-get install -y git wget zip unzip axel python3-pip zipalign apksigner xmlstarlet
        pip3 install ConfigObj

   - name: Set up Time 
     run: |
        cd $GITHUB_WORKSPACE
        echo "Setting Vienam timezone"
        sudo timedatectl set-timezone Asia/Ho_Chi_Minh
  
   - name: Download Services.jar
     run: |
        axel -n $(nproc) ${{ github.event.inputs.ROM_URL }}
        
   - name : PATCH-ING
     run: |
        sudo chmod 777 -R *
        ./bhlnk.sh
   - name: Upload a Build Artifact
     uses: actions/[email protected]
     with:
      # Artifact name
       name: services_patched_bhlnk.zip
      # A file, directory or wildcard pattern that describes what to upload
       path: ./module/*
      # The desired behavior if no files are found using the provided path.

name: miuivs_patch_build

on:
  workflow_dispatch:
    inputs:
     ROM_URL:
      description: 'Services.jar Url'
      required: true
      default: ''
jobs:
  build:
    runs-on: ubuntu-latest
    
    steps:
       - name: Checkout
         uses: actions/checkout@v2
       
       - name: Setting up
         run: |
            sudo apt-get install -y git wget zip unzip axel python3-pip zipalign apksigner xmlstarlet
            pip3 install ConfigObj
  
       - name: Set up Time 
         run: |
            cd $GITHUB_WORKSPACE
            echo "Setting Vienam timezone"
            sudo timedatectl set-timezone Asia/Ho_Chi_Minh
      
       - name: Download Services.jar
         run: |
            axel -n $(nproc) ${{ github.event.inputs.ROM_URL }}
            
       - name : PATCH-ING
         run: |
            sudo chmod 777 -R *
            ./bhlnk.sh
       - name: Upload a Build Artifact
         uses: actions/[email protected]
         with:
          # Artifact name
           name: services_patched_bhlnk.zip
          # A file, directory or wildcard pattern that describes what to upload
           path: ./module/*
          # The desired behavior if no files are found using the provided path.
      

Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
@aibappy
Copy link

aibappy commented Apr 3, 2023

Don't understand how to put my A13 service.jar here...can you help me sir?

Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
Signed-off-by: Maddy70 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants