Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
# Allows for running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Download artifacts from latest master workflow
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: master.yaml
workflow_conclusion: success
- name: Read VERSION file
id: get_version
run: echo "version=$(cat VERSION/VERSION)" >> $GITHUB_OUTPUT
- name: Create release
id: create_release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.version }}
release_name: ${{ steps.get_version.outputs.version }}
draft: false
prerelease: false
- name: Upload signed APK to release
id: upload_release_asset
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bisq-release-signed.apk
asset_name: bisq-release-signed.apk
asset_content_type: application/zip