mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
chore: don't build android apk for db release
This commit is contained in:
62
.github/workflows/build-desktop-release.yml
vendored
62
.github/workflows/build-desktop-release.yml
vendored
@@ -38,11 +38,11 @@ on:
|
||||
type: boolean
|
||||
required: true
|
||||
default: true
|
||||
build-android:
|
||||
description: 'Build Android App'
|
||||
type: boolean
|
||||
required: true
|
||||
default: true
|
||||
# build-android:
|
||||
# description: 'Build Android App'
|
||||
# type: boolean
|
||||
# required: true
|
||||
# default: true
|
||||
schedule: # Every workday at the 2 P.M. (UTC) we run a scheduled nightly build
|
||||
- cron: '0 14 * * MON-FRI'
|
||||
|
||||
@@ -492,17 +492,17 @@ jobs:
|
||||
path: builds
|
||||
|
||||
# reuse workflow via workflow_call
|
||||
build-android:
|
||||
uses: ./.github/workflows/build-android.yml
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
|
||||
with:
|
||||
build-target: "${{ github.event.inputs.build-target }}"
|
||||
# if scheduled, use production mode
|
||||
enable-file-sync-production: "${{ github.event_name == 'schedule' || github.event.inputs.enable-file-sync-production == 'true' }}"
|
||||
secrets:
|
||||
ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"
|
||||
ANDROID_KEYSTORE_PASSWORD: "${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"
|
||||
SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}"
|
||||
# build-android:
|
||||
# uses: ./.github/workflows/build-android.yml
|
||||
# if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
|
||||
# with:
|
||||
# build-target: "${{ github.event.inputs.build-target }}"
|
||||
# # if scheduled, use production mode
|
||||
# enable-file-sync-production: "${{ github.event_name == 'schedule' || github.event.inputs.enable-file-sync-production == 'true' }}"
|
||||
# secrets:
|
||||
# ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"
|
||||
# ANDROID_KEYSTORE_PASSWORD: "${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"
|
||||
# SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}"
|
||||
|
||||
codesign-windows:
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-target == 'nightly' || github.event.inputs.build-target == 'beta' }}
|
||||
@@ -533,7 +533,7 @@ jobs:
|
||||
|
||||
nightly-release:
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-target == 'nightly' }}
|
||||
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows, build-android]
|
||||
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Download MacOS x64 Artifacts
|
||||
@@ -572,11 +572,11 @@ jobs:
|
||||
name: logseq-win64-builds
|
||||
path: ./
|
||||
|
||||
- name: Download Android Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: logseq-android-builds
|
||||
path: ./
|
||||
# - name: Download Android Artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# name: logseq-android-builds
|
||||
# path: ./
|
||||
|
||||
- name: Generate SHA256 checksums
|
||||
run: |
|
||||
@@ -595,7 +595,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: nightly
|
||||
name: 'Desktop/Android APP Nightly Release $$'
|
||||
name: 'Desktop app Nightly Release $$'
|
||||
draft: false
|
||||
prerelease: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.is-pre-release) || (github.event_name == 'schedule')}}
|
||||
body: |
|
||||
@@ -613,7 +613,7 @@ jobs:
|
||||
release:
|
||||
# NOTE: For now, we only have beta channel to be released on Github
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.build-target == 'beta' }}
|
||||
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows, build-android]
|
||||
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Download MacOS x64 Artifacts
|
||||
@@ -652,12 +652,12 @@ jobs:
|
||||
name: logseq-win64-builds
|
||||
path: ./
|
||||
|
||||
- name: Download Android Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
|
||||
with:
|
||||
name: logseq-android-builds
|
||||
path: ./
|
||||
# - name: Download Android Artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
|
||||
# with:
|
||||
# name: logseq-android-builds
|
||||
# path: ./
|
||||
|
||||
- name: List files
|
||||
run: ls -rl
|
||||
@@ -687,7 +687,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.ref.outputs.version }}
|
||||
name: Desktop/Android APP ${{ steps.ref.outputs.version }} (Beta Testing)
|
||||
name: Desktop APP ${{ steps.ref.outputs.version }} (Beta Testing)
|
||||
body: "TODO: Fill this changelog. Sorry for the inconvenience!"
|
||||
draft: ${{ github.event.inputs.is-draft }}
|
||||
prerelease: ${{ github.event.inputs.is-pre-release }}
|
||||
|
||||
Reference in New Issue
Block a user