Update .github/workflows/build.yml
This commit is contained in:
@@ -63,7 +63,9 @@ jobs:
|
|||||||
else
|
else
|
||||||
VERSION_NAME="${VERSION_BASE}"
|
VERSION_NAME="${VERSION_BASE}"
|
||||||
fi
|
fi
|
||||||
./gradlew assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME
|
./gradlew bundleSignedRelease assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME
|
||||||
|
# ./gradlew assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME
|
||||||
|
# ./gradlew bundleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
@@ -83,4 +85,13 @@ jobs:
|
|||||||
echo "false"
|
echo "false"
|
||||||
else
|
else
|
||||||
echo "true"
|
echo "true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Upload to Google Play
|
||||||
|
uses: r0adkll/upload-google-play@v1
|
||||||
|
with:
|
||||||
|
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
|
||||||
|
packageName: net.helcel.beans
|
||||||
|
releaseFiles: app/build/outputs/bundle/signedRelease/app-signedRelease.aab
|
||||||
|
tracks: 'internal' # ${{ startsWith(github.ref, 'refs/tags/') && 'production' || 'beta' }}
|
||||||
|
status: completed
|
||||||
|
|||||||
Reference in New Issue
Block a user