mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Delete workflow
This commit is contained in:
@@ -1,58 +0,0 @@
|
|||||||
name: Create Release Assets
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: 'v2.0.6'
|
|
||||||
|
|
||||||
- name: Set up JDK 17
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'temurin'
|
|
||||||
java-version: 17
|
|
||||||
|
|
||||||
- name: Cache gradle
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/caches
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Build APK
|
|
||||||
run: ./gradlew assembleRelease --stacktrace
|
|
||||||
|
|
||||||
- name: Sign free APK
|
|
||||||
uses: r0adkll/sign-android-release@v1
|
|
||||||
with:
|
|
||||||
releaseDirectory: app/build/outputs/apk/free/release
|
|
||||||
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
|
||||||
alias: ${{ secrets.KEY_ALIAS }}
|
|
||||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
||||||
env:
|
|
||||||
# override default build-tools version (29.0.3) -- optional
|
|
||||||
BUILD_TOOLS_VERSION: "34.0.0"
|
|
||||||
|
|
||||||
- uses: kaisugi/action-regex-match@v1.0.1
|
|
||||||
id: regex-match
|
|
||||||
with:
|
|
||||||
text: ${{ github.ref }}
|
|
||||||
regex: '(v*-pre*)'
|
|
||||||
flags: gm
|
|
||||||
|
|
||||||
- name: fdroid apk
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: amber-fdroid-universal-${{ github.ref_name }}.apk
|
|
||||||
path: app/build/outputs/apk/free/release/app-free-universal-release-unsigned-signed.apk
|
|
||||||
Reference in New Issue
Block a user