-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 2402-rethink-course-details-layout
- Loading branch information
Showing
110 changed files
with
2,742 additions
and
1,888 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
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
|
||
steps: | ||
- name: checkout repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: set more env | ||
run: echo "BRANCHNAME="${GITHUB_REF##*/} >> $GITHUB_ENV | ||
|
@@ -45,8 +45,8 @@ jobs: | |
./gradlew assembleRelease bundleRelease | ||
ls -alR app/build/outputs | ||
mkdir -p sign | ||
cp app/build/outputs/bundle/release/app-release.aab sign/myPlanet.aab | ||
cp app/build/outputs/apk/release/myPlanet-build.apk sign/myPlanet.apk | ||
cp app/build/outputs/bundle/release/app-release.aab sign/. | ||
cp app/build/outputs/apk/release/app-release-unsigned.apk sign/. | ||
- name: sign release APK and AAB | ||
uses: dogi/[email protected] | ||
|
@@ -57,20 +57,18 @@ jobs: | |
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
|
||
- name: copy builds to directory and generate sha256 | ||
- name: copy builds to output and generate sha256 | ||
run: | | ||
mkdir -p output | ||
cd output | ||
cp ../sign/myPlanet.* . | ||
cp ../app/build/outputs/apk/release/myPlanet-build.apk . | ||
sha256sum myPlanet.apk > myPlanet.apk.sha256 | ||
sha256sum myPlanet.aab > myPlanet.aab.sha256 | ||
cd - | ||
cp sign/app-release-unsigned-signed.apk output/myPlanet.apk | ||
cp sign/app-release.aab output/myPlanet.aab | ||
sha256sum output/myPlanet.apk > output/myPlanet.apk.sha256 | ||
sha256sum output/myPlanet.aab > output/myPlanet.aab.sha256 | ||
ls -alR output | ||
- name: publish to playstore | ||
- name: publish AAB to playstore | ||
if: github.ref == 'refs/heads/master' | ||
uses: r0adkll/[email protected].1 | ||
uses: r0adkll/[email protected].2 | ||
with: | ||
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} | ||
packageName: org.ole.planet.myplanet | ||
|
@@ -79,7 +77,7 @@ jobs: | |
releaseName: "${{ env.ANDROID_VERSION_CODE }} (${{ env.ANDROID_VERSION_NAME }})" | ||
status: completed | ||
|
||
- name: rename APK/AAB with version and branch for artifact | ||
- name: rename APK and AAB with version and branch for artifact | ||
if: github.ref != 'refs/heads/master' | ||
run: | | ||
mv output/myPlanet.apk output/myPlanet-${{ env.ANDROID_VERSION_NAME }}-${{ env.BRANCHNAME }}.apk | ||
|
@@ -88,15 +86,15 @@ jobs: | |
mv output/myPlanet.aab.sha256 output/myPlanet-${{ env.ANDROID_VERSION_NAME }}-${{ env.BRANCHNAME }}.aab.sha256 | ||
ls -alR output | ||
- name: upload APK/AAB as build artifact | ||
- name: upload APK and AAB as build artifact | ||
if: github.ref != 'refs/heads/master' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: myPlanet-${{ env.ANDROID_VERSION_NAME }}-${{ env.BRANCHNAME }} | ||
path: output/* | ||
retention-days: 9 | ||
|
||
- name: release signed APK and AAB on GitHub | ||
- name: release APK and AAB on GitHub | ||
if: github.ref == 'refs/heads/master' | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
|
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
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
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
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
4 changes: 0 additions & 4 deletions
4
app/src/main/java/org/ole/planet/myplanet/base/BaseAdapterWithTag.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.