Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only build release
Browse files Browse the repository at this point in the history
Howard20181 committed Feb 2, 2024
1 parent af131e0 commit 856fedb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ jobs:
cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/4.0-dev' }}

- name: Build with Gradle
run: ./gradlew assemble
run: ./gradlew assembleRelease

- name: Read Output Metadata
id: read_output_metadata
@@ -53,15 +53,6 @@ jobs:
name: "release-${{ env.version_name }}(${{ env.version_code }})"
path: ./app/build/outputs/apk/release

- name: Upload Debug Package
env:
version_code: ${{ fromJSON(steps.read_output_metadata.outputs.content).elements[0].versionCode }}
version_name: ${{ fromJSON(steps.read_output_metadata.outputs.content).elements[0].versionName }}
uses: actions/upload-artifact@v4
with:
name: "debug-${{ env.version_name }}(${{ env.version_code }})"
path: ./app/build/outputs/apk/debug

- name: Upload Mapping
uses: actions/upload-artifact@v4
with:

0 comments on commit 856fedb

Please sign in to comment.