mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix(build): nightly env (#6580)
This commit is contained in:
8
.github/workflows/build-desktop-release.yml
vendored
8
.github/workflows/build-desktop-release.yml
vendored
@@ -122,9 +122,10 @@ jobs:
|
||||
|
||||
- name: Set Build Environment Variables (only when workflow_dispath)
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
# if scheduled, use default settings
|
||||
run: |
|
||||
echo "ENABLE_PLUGINS=${{ github.event.inputs.enable-plugins }}" >> $GITHUB_ENV
|
||||
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event.inputs.enable-file-sync-production }}" >> $GITHUB_ENV
|
||||
echo "ENABLE_PLUGINS=${{ github.event_name == 'schedule' || github.event.inputs.enable-plugins == 'true' }}" >> $GITHUB_ENV
|
||||
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event_name == 'schedule' || github.event.inputs.enable-file-sync-production == 'true' }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Compile CLJS
|
||||
run: yarn install && gulp build && yarn cljs:release-electron
|
||||
@@ -426,7 +427,8 @@ jobs:
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
|
||||
with:
|
||||
build-target: "${{ github.event.inputs.build-target }}"
|
||||
enable-file-sync-production: "${{ github.event.inputs.enable-file-sync-production == 'true' }}"
|
||||
# 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 }}"
|
||||
|
||||
Reference in New Issue
Block a user