Skip to content

Commit

Permalink
Getting close now
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed Jul 20, 2023
1 parent 643db9a commit 288c21e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 40 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- releaseartifacts

jobs:
# this job builds and uploads the apk
Expand Down Expand Up @@ -129,36 +130,3 @@ jobs:
# logcat-dump.txt
# app/build/reports/androidTests/**

# this job deploys to playstore
deploy:
needs:
- build
#- connected_check

runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: perform the checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0

# Verify the SHA-sum
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: setup JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

- name: delete unwanted langs
shell: bash
run: ci/delete-unwanted-langs

- name: deploy to play store
shell: bash
run: ci/run-if-release ./deploy_playstore_fast.sh
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ jobs:
- name: gradle build
uses: gradle/gradle-build-action@v2
with:
arguments: build #:app:lint check app:bundlePlay
arguments: build :app:lint check app:bundlePlay

- name: show artifacts
- name: deploy to play store
shell: bash
run: ls app/build/outputs/apk/release

- name: show artifacts
shell: bash
run: ls app/build/outputs/apk/play
run: ci/run-if-release ./deploy_playstore_fast.sh

- name: release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 288c21e

Please sign in to comment.