File tree Expand file tree Collapse file tree 3 files changed +61
-58
lines changed
Expand file tree Collapse file tree 3 files changed +61
-58
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : FDroid Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " *fdroid*"
7+
8+ jobs :
9+ build-release :
10+ name : Build & Publish Signed APK
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ # Checkout the repository
15+ - name : Checkout
16+ uses : actions/checkout@v6
17+
18+ # Install JDK
19+ - name : Set up JDK 17
20+ uses : actions/setup-java@v5
21+ with :
22+ java-version : ' 17'
23+ distribution : ' temurin'
24+ cache : gradle
25+
26+ # Build APK
27+ - name : Build APK
28+ run : ./gradlew assembleRelease
29+
30+ # Sign APK
31+ - name : Sign APK
32+ uses : r0adkll/sign-android-release@v1
33+ # ID used to access action output
34+ id : sign_apk
35+ with :
36+ releaseDirectory : app/build/outputs/apk/release
37+ signingKeyBase64 : ${{ secrets.SIGNING_KEY }}
38+ alias : ${{ secrets.ALIAS }}
39+ keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
40+ keyPassword : ${{ secrets.KEY_PASSWORD }}
41+
42+ # Build Changelog
43+ - name : Build Changelog
44+ id : build_changelog
45+ uses : ardalanamini/auto-changelog@v3
46+ with :
47+ mention-authors : false
48+ mention-new-contributors : true
49+ include-compare : true
50+ semver : false
51+
52+ # Create GitHub Release and attach APK
53+ - name : Create GitHub Release
54+ uses : softprops/action-gh-release@v2
55+ with :
56+ tag_name : ${{ github.ref_name }}
57+ name : ${{ github.ref_name }}
58+ files : ${{ steps.sign_apk.outputs.signedReleaseFile }}
59+ body : ${{ steps.build_changelog.outputs.changelog }}  
60+ env :
61+ GITHUB_TOKEN : ${{ github.token }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments