mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-22 05:59:30 +02:00
Update android.yml
This commit is contained in:
8
.github/workflows/android.yml
vendored
8
.github/workflows/android.yml
vendored
@@ -34,11 +34,17 @@ jobs:
|
||||
done
|
||||
rm apksign.keystore
|
||||
|
||||
- name: Extract Version
|
||||
id: extract_version
|
||||
run: |
|
||||
VERSION=$(grep -oP "currentVersion = '\K[^']+" lib/main.dart)
|
||||
echo "::set-output name=version::$VERSION"
|
||||
|
||||
- name: Create Release And Upload APKs
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GAT }}
|
||||
tag: "v${{ steps.compare_versions.outputs.version }}-beta"
|
||||
tag: "v${{ steps.extract_version.outputs.version }}-beta"
|
||||
artifacts: ./build/app/outputs/flutter-apk/*-signed*.apk
|
||||
continue-on-error: true
|
||||
|
||||
|
Reference in New Issue
Block a user