mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-23 01:27:57 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: Publish GitHub release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
|
with:
|
|
branch: master
|
|
gradlew-command: assembleReleaseGithub
|
|
keystore-file-name: github_key.jks
|
|
secrets: inherit
|
|
|
|
create-release:
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Download built artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: apk
|
|
path: app
|
|
|
|
- name: Rename artifacts
|
|
run: mv app/releaseGithub/app-releaseGithub.apk app/releaseGithub/pezkuwi-wallet-android-${{ github.ref_name }}-github.apk
|
|
|
|
- name: Create Release
|
|
id: create_release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
name: Release ${{ github.ref_name }}
|
|
tag_name: ${{ github.ref_name }}
|
|
generate_release_notes: true
|
|
draft: true
|
|
files: app/releaseGithub/pezkuwi-wallet-android-${{ github.ref_name }}-github.apk
|