Add create-release job to GitHub Actions workflow for automated draft releases with Linux and APK artifacts

This commit is contained in:
2025-09-20 16:24:59 -05:00
parent cb218f2b29
commit 62d3502f99

View File

@@ -79,4 +79,42 @@ jobs:
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with: with:
name: ren-browser-apk name: ren-browser-apk
path: build/apk path: build/apk
create-release:
needs: [build-linux, build-android]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Download Linux artifact
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3d2d08f
with:
name: ren-browser-linux
path: ./artifacts/linux
- name: Download APK artifact
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3d2d08f
with:
name: ren-browser-apk
path: ./artifacts/apk
- name: Create draft release
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836
with:
draft: true
files: |
./artifacts/linux/**/*
./artifacts/apk/**/*
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
body: |
## Release ${{ github.ref_name }}
This release contains:
- Linux binary package
- Android APK package