ci: generate assets for a pr [skip ci]

This commit is contained in:
Baptiste Augrain
2023-12-17 00:30:20 +01:00
parent 01f2c461ad
commit 40c487fcf9
7 changed files with 57 additions and 26 deletions

View File

@@ -6,9 +6,9 @@ on:
force_version:
type: boolean
description: Force update version
test_asset_builder:
generate_assets:
type: boolean
description: Test the assets builder
description: Generate assets
repository_dispatch:
types: [stable]
push:
@@ -68,7 +68,7 @@ jobs:
- name: Check PR or cron
env:
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }}
run: ./check_cron_or_pr.sh
- name: Check existing VSCodium tags/releases
@@ -88,7 +88,7 @@ jobs:
- name: Prepare assets
run: ./prepare_assets.sh
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
- name: Release
env: