mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-22 14:09:29 +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
|
done
|
||||||
rm apksign.keystore
|
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
|
- name: Create Release And Upload APKs
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GAT }}
|
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
|
artifacts: ./build/app/outputs/flutter-apk/*-signed*.apk
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user