forked from github/wulkanowy-mirror
github actions fix (second try)
This commit is contained in:
parent
8eb65196cb
commit
e347045ac8
29
.github/workflows/android.yml
vendored
29
.github/workflows/android.yml
vendored
@ -38,13 +38,26 @@ jobs:
|
|||||||
- name: Change wrapper permissions
|
- name: Change wrapper permissions
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
# Create APK Release
|
- name: Build Debug APK
|
||||||
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
|
run: ./gradlew assembleDebug
|
||||||
run: ./gradlew assemble
|
|
||||||
|
|
||||||
# Noted For Output [main_project_module]/build/outputs/apk/release/
|
- name: Create Release
|
||||||
- name: Upload APK Release - ${{ env.repository_name }}
|
id: create_release
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) release generated
|
tag_name: ${{ github.ref }}
|
||||||
path: ${{ env.main_project_module }}/build/outputs/apk/release/
|
release_name: Release ${{ github.ref }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
|
||||||
|
- name: Upload Debug APK
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: app/build/outputs/apk/debug/*.apk
|
||||||
|
asset_name: debug-${{ env.repository_name }}-${{ env.date_today }}.apk
|
||||||
|
asset_content_type: application/vnd.android.package-archive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user