From 324f8db95c25303d1d255b4e90d666b76aaac3d0 Mon Sep 17 00:00:00 2001 From: girazoki Date: Tue, 23 Apr 2024 16:45:05 +0200 Subject: [PATCH] add new runtime publishing possibilities (#517) * add new runtime possibilities * separate template nly * fix tests * Revert "fix tests" This reverts commit 0e67e835b44bec78c37f1bc6d3038a179bf3ec51. * remove duplicate --- .github/workflows/publish-runtime-chevdor.yml | 12 ++++++++++++ .github/workflows/publish-runtime.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/publish-runtime-chevdor.yml b/.github/workflows/publish-runtime-chevdor.yml index 613bf8bf5..dab5ec6bc 100644 --- a/.github/workflows/publish-runtime-chevdor.yml +++ b/.github/workflows/publish-runtime-chevdor.yml @@ -17,7 +17,11 @@ on: default: tanssi-only options: - tanssi-only + - flashbox-only + - dancebox-only - templates-only + - simple-template-only + - frontier-template-only - run-all jobs: @@ -57,8 +61,16 @@ jobs: if [[ ${{ github.event.inputs.chains }} = "tanssi-only" ]]; then echo "matrix_tests=[$dancebox, $flashbox]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "flashbox-only" ]]; then + echo "matrix_tests=[$flashbox]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "dancebox-only" ]]; then + echo "matrix_tests=[$dancebox]" >> $GITHUB_OUTPUT elif [[ ${{ github.event.inputs.chains }} = "templates-only" ]]; then echo "matrix_tests=[$simple_template, $frontier_template]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "simple-template-only" ]]; then + echo "matrix_tests=[$simple_template]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "frontier-template-only" ]]; then + echo "matrix_tests=[$frontier_template]" >> $GITHUB_OUTPUT else echo "matrix_tests=[$dancebox, $flashbox, $simple_template, $frontier_template]" >> $GITHUB_OUTPUT fi diff --git a/.github/workflows/publish-runtime.yml b/.github/workflows/publish-runtime.yml index 7ec7ecc99..c7f83631b 100644 --- a/.github/workflows/publish-runtime.yml +++ b/.github/workflows/publish-runtime.yml @@ -17,7 +17,11 @@ on: default: tanssi-only options: - tanssi-only + - flashbox-only + - dancebox-only - templates-only + - simple-template-only + - frontier-template-only - run-all jobs: @@ -59,6 +63,14 @@ jobs: echo "matrix_tests=[$dancebox, $flashbox]" >> $GITHUB_OUTPUT elif [[ ${{ github.event.inputs.chains }} = "templates-only" ]]; then echo "matrix_tests=[$simple_template, $frontier_template]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "flashbox-only" ]]; then + echo "matrix_tests=[$flashbox]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "dancebox-only" ]]; then + echo "matrix_tests=[$dancebox]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "simple-template-only" ]]; then + echo "matrix_tests=[$simple_template]" >> $GITHUB_OUTPUT + elif [[ ${{ github.event.inputs.chains }} = "frontier-template-only" ]]; then + echo "matrix_tests=[$frontier_template]" >> $GITHUB_OUTPUT else echo "matrix_tests=[$dancebox, $flashbox, $simple_template, $frontier_template]" >> $GITHUB_OUTPUT fi