mirror of
https://github.com/ActivityLauncher/ActivityLauncher.git
synced 2026-08-25 08:41:49 +00:00
fix(CI): update release workflow
This commit is contained in:
parent
cef18345a9
commit
bc31a14d7c
1 changed files with 8 additions and 15 deletions
23
.github/workflows/android-release-github.yml
vendored
23
.github/workflows/android-release-github.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
|||
tags:
|
||||
- '*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
|
@ -29,23 +32,13 @@ jobs:
|
|||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
|
||||
KEY_ALIAS: de.szalkowski.activitylauncher.oss
|
||||
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }}
|
||||
- name: Create Release
|
||||
uses: actions/create-release@v1
|
||||
id: create_release
|
||||
- name: Create Release and Upload APK
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
release_name: ${{ github.ref }}
|
||||
name: ${{ github.ref_name }}
|
||||
tag_name: ${{ github.ref }}
|
||||
body_path: whatsnew/whatsnew-en-GB
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
- name: Upload Release APK
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: app/build/outputs/apk/ossNoads/release/app-oss-noads-release.apk
|
||||
asset_name: ActivityLauncher-${{ github.ref_name }}.apk
|
||||
asset_content_type: application/vnd.android.package-archive
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
files: app/build/outputs/apk/ossNoads/release/app-oss-noads-release.apk
|
||||
token: ${{ github.token }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue