feat: add flag to test assets builder in CI (#1590)

This commit is contained in:
Baptiste Augrain
2023-08-04 14:36:30 +02:00
committed by GitHub
parent 61e44afbc4
commit f51c90526f
7 changed files with 46 additions and 9 deletions

View File

@@ -9,6 +9,9 @@ on:
force_version:
type: boolean
description: Force update version
test_asset_builder:
type: boolean
description: Test the assets builder
schedule:
- cron: '0 18 * * *'
push:
@@ -48,6 +51,8 @@ jobs:
run: ./get_repo.sh
- name: Check PR or cron
env:
TEST_ASSET_BUILDER: ${{ github.event.inputs.test_asset_builder }}
run: ./check_cron_or_pr.sh
dependencies:
@@ -176,7 +181,7 @@ jobs:
- name: Prepare assets
run: ./prepare_assets.sh
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.test_asset_builder == 'true')
- name: Release
env: