Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

github actions to publish mobile app

name: Android Publish

on:
  workflow_dispatch:

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - name: Set Up JDK
        uses: actions/setup-java@v1
        with:
          java-version: 1.8

      - name: Change wrapper permissions
        run: chmod +x ./gradlew

      - name: Run Tests
        run: ./gradlew test

      - name: Build Project
        run: ./gradlew build

      - name: Build Release AAB      // 1
        run: ./gradlew bundleRelease

      - name: Sign AAB               // 2
        uses: r0adkll/sign-android-release@v1
        with:
          releaseDirectory: app/build/outputs/bundle/release
          signingKeyBase64: ${{ secrets.SIGN_KEY }}
          alias: ${{ secrets.ALIAS }}
          keyStorePassword: ${{ secrets.STORE_KEY_PASSWORD }}
          keyPassword: ${{ secrets.KEY_PASSWORD }}

      - name: Deploy to Play Store   // 3
        uses: r0adkll/upload-google-play@v1
        with:
          serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT}}
          packageName: com.tomerpacific.laundry
          releaseFiles: app/build/outputs/bundle/release/app-release.aab
          track: production
Comment

github actions to publish mobile app

name: Android Build

on: pull_request

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - name: Set Up JDK              // 1
        uses: actions/setup-java@v1
        with:
          java-version: 1.8

      - name: Change wrapper permissions  // 2
        run: chmod +x ./gradlew

      - name: Run Tests                   // 3
        run: ./gradlew test

      - name: Build Project               // 4
        run: ./gradlew assemble
Comment

github actions to publish mobile app

name: Android Build

on: pull_request

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - name: Set Up JDK              // 1
        uses: actions/setup-java@v1
        with:
          java-version: 1.8

      - name: Change wrapper permissions  // 2
        run: chmod +x ./gradlew

      - name: Run Tests                   // 3
        run: ./gradlew test

      - name: Build Project               // 4
        run: ./gradlew assemble
Comment

PREVIOUS NEXT
Code Example
Shell :: Git global setupCreate a new repository 
Shell :: zsh prompt losing customization when using `sudo su` 
Shell :: vim substitution 
Shell :: ssh configuration packet tracer 
Shell :: Guardar cambios en una rama nueva 
Shell :: wsl start windows program 
Shell :: permissão para usuario executar o docker 
Shell :: docker pull 
Shell :: find inodes usage 
Shell :: ARCH_LINUX : /oldroot BUG 
Shell :: drop-in 
Shell :: Git - Can we recover deleted commits? [duplicate] 
Shell :: fish tab completion color 
Shell :: bash command to pretty print directory 
Shell :: how to retain ownership permissions when copying file linux 
Shell :: Send email with Gitlab docker image 
Shell :: install discord on a script 
Shell :: alpine docker add user and group 
Shell :: how to monitor my applications net http traffic locally in terminal 
Shell :: snap remove revision 
Shell :: Install Discord Together 
Shell :: how-to-install-angular-cli-locally-without-the-g-flag 
Shell :: could not get batched bridge 
Shell :: delete strings after match to eol using sed command 
Shell :: on-root/non-service/non-daemon users 
Shell :: user cisco list command 
Shell :: how to install netdata on ubuntu wsl2 
Shell :: yum install firefox 
Shell :: import local varibles inside .sh file 
Shell :: ufw script no prompt 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =