This commit is contained in:
parent
70454c7dd8
commit
6fe19aea3d
@ -6,20 +6,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: mingc/android-build-box
|
container: mingc/android-build-box
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '>=1.20.1'
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl -sSL -u "$USERNAME:$PASSWORD" -o app/$STORE_FILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$STORE_FILE
|
- run: curl -sSL -u "$USERNAME:$PASSWORD" -o app/$STORE_FILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$STORE_FILE
|
||||||
- run: sh gradlew build bundleRelease assembleRelease --no-daemon
|
- run: sh gradlew lint build bundleRelease assembleRelease --no-daemon
|
||||||
- uses: https://gitea.com/actions/release-action@main
|
- uses: akkuman/gitea-release-action@v1
|
||||||
if: startsWith(gitea.ref, 'refs/tags')
|
if: gitea.ref_type == 'tag'
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
app/build/outputs/apk/debug/app-debug.apk
|
app/build/outputs/apk/debug/app-debug.apk
|
||||||
app/build/outputs/apk/release/app-release.apk
|
app/build/outputs/apk/release/app-release.apk
|
||||||
app/build/outputs/bundle/release/app-release.aab
|
app/build/outputs/bundle/release/app-release.aab
|
||||||
api_key: ${{ secrets.RELEASE_TOKEN }}
|
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
PASSWORD: ${{ secrets.PASSWORD }}
|
PASSWORD: ${{ secrets.PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user