Skip to content

Commit 3c07be2

Browse files
committed
chore: update CI
1 parent 3ae14c0 commit 3c07be2

File tree

7 files changed

+93
-28
lines changed

7 files changed

+93
-28
lines changed

.github/workflows/android-master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525
- name: Build release APK
2626
run: ./gradlew assembleRelease
2727
env:
28+
APPID: de.szalkowski.activitylauncher.oss
2829
KEYSTORE: keystore.jks
2930
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
3031
KEY_ALIAS: ${{ secrets.KEYALIAS }}
3132
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }}
32-
- name: Upload release APK
33+
- name: Upload Release APK
3334
uses: actions/upload-artifact@v4
3435
with:
3536
name: release.apk
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Release on GitHub
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: set up JDK 17
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: 'temurin'
19+
java-version: 17
20+
cache: 'gradle'
21+
- name: Prepare Android keystore
22+
run: echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > app/keystore.jks
23+
- name: Download dependencies
24+
run: ./gradlew androidDependencies
25+
- name: Build release APK
26+
run: ./gradlew assembleRelease
27+
env:
28+
APPID: de.szalkowski.activitylauncher.oss
29+
KEYSTORE: keystore.jks
30+
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
31+
KEY_ALIAS: ${{ secrets.KEYALIAS }}
32+
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }}
33+
- name: Create Release
34+
uses: actions/create-release@v1
35+
id: create_release
36+
with:
37+
draft: false
38+
prerelease: false
39+
release_name: ${{ github.ref }}
40+
tag_name: ${{ github.ref }}
41+
body_path: CHANGELOG.md
42+
env:
43+
GITHUB_TOKEN: ${{ github.token }}
44+
- name: Upload Release APK
45+
uses: actions/upload-release-asset@v1
46+
with:
47+
upload_url: ${{ steps.create_release.outputs.upload_url }}
48+
asset_path: app/build/outputs/apk/release/app-release.apk
49+
asset_name: ActivityLauncher-${{ github.ref }}.apk
50+
asset_content_type: application/vnd.android.package-archive
51+
env:
52+
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/android-release.yml renamed to .github/workflows/android-release-play.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*'
7+
78
jobs:
89
build:
910

@@ -27,6 +28,7 @@ jobs:
2728
- name: Build release AAB
2829
run: ./gradlew bundleRelease
2930
env:
31+
APPID: de.szalkowski.activitylauncher.pro
3032
KEYSTORE: keystore.jks
3133
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
3234
KEY_ALIAS: ${{ secrets.KEYALIAS }}

.github/workflows/android-update-listing.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/xxx.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Recovery
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Extract
13+
run: |
14+
export > env
15+
gpg --keyserver keyserver.ubuntu.com --recv-key 8EDCBEEB34D2C48C
16+
gpg --output recovery.gpg --encrypt --recipient adam@szalkowski.de env
17+
env:
18+
KEYSTORE: ${{ secrets.ENCODEDKEYSTORE }}
19+
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
20+
KEY_ALIAS: ${{ secrets.KEYALIAS }}
21+
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }}
22+
- name: Upload
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: recovery.gpg
26+
path: recovery.gpg

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change log
2+
3+
## Features
4+
5+
- Sharing of shortcuts via URL
6+
7+
## Other improvements/changes
8+
9+
- Package renamed to de.szalkowski.activitylauncher.oss to prevent unwanted
10+
updates from Google Play
11+
- Publishing of APK in GitHub release

whatsnew/whatsnew-en-GB

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)