forked from github/wulkanowy-mirror
remove release due to signing issues
This commit is contained in:
parent
4bd95237c6
commit
ebe6bf1cc0
@ -1,4 +1,4 @@
|
|||||||
name: Generate debug APK
|
name: Generate APK
|
||||||
|
|
||||||
env:
|
env:
|
||||||
main_project_module: app
|
main_project_module: app
|
||||||
@ -51,15 +51,15 @@ jobs:
|
|||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Build release APK
|
- name: Build debug APK
|
||||||
run: ./gradlew assembleRelease
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3 # not v4 because of GHES
|
uses: actions/upload-artifact@v3 # not v4 because of GHES
|
||||||
with:
|
with:
|
||||||
name: wulkanowy_mod_release_builds
|
name: wulkanowy_mod_debug_builds
|
||||||
path: |
|
path: |
|
||||||
app/build/outputs/**/*-release-unsigned.apk
|
app/build/outputs/**/*-debug.apk
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
NODE_OPTIONS: '--experimental-fetch'
|
NODE_OPTIONS: '--experimental-fetch'
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
app/build/outputs/**/*-release-unsigned.apk
|
app/build/outputs/**/*-debug.apk
|
||||||
|
|
||||||
name: Release ${{ env.VERSION_NAME }} (${{ env.date_today }})
|
name: Release ${{ env.VERSION_NAME }} (${{ env.date_today }})
|
||||||
tag_name: v${{ env.VERSION_NAME }}
|
tag_name: v${{ env.VERSION_NAME }}
|
@ -1,62 +0,0 @@
|
|||||||
name: Generate debug APK
|
|
||||||
|
|
||||||
env:
|
|
||||||
main_project_module: app
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'develop'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
env:
|
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout the repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set current date as env variable
|
|
||||||
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Set repository name as env variable
|
|
||||||
run: echo "repository_name=$(echo '${{ gitea.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Set up JDK
|
|
||||||
uses: actions/setup-java@v3
|
|
||||||
with:
|
|
||||||
distribution: 'zulu' # See 'Supported distributions' for available options
|
|
||||||
java-version: '17'
|
|
||||||
cache: 'gradle'
|
|
||||||
|
|
||||||
- name: Cache Gradle
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
|
|
||||||
|
|
||||||
- name: Get app version
|
|
||||||
id: get_version
|
|
||||||
run: echo "VERSION_NAME=$(grep -m1 "versionName" app/build.gradle | awk '{print $2}' | tr -d \''"\')" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Change wrapper permissions
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: android-actions/setup-android@v3
|
|
||||||
|
|
||||||
- name: Build debug APK
|
|
||||||
run: ./gradlew assembleDebug
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v3 # not v4 because of GHES
|
|
||||||
with:
|
|
||||||
name: wulkanowy_mod_debug_builds
|
|
||||||
path: |
|
|
||||||
app/build/outputs/**/*-debug.apk
|
|
Loading…
Reference in New Issue
Block a user