Skip to content

Commit

Permalink
add new runtime publishing possibilities (#517)
Browse files Browse the repository at this point in the history
* add new runtime possibilities

* separate template nly

* fix tests

* Revert "fix tests"

This reverts commit 0e67e83.

* remove duplicate
  • Loading branch information
girazoki authored Apr 23, 2024
1 parent 5cb121b commit 324f8db
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-runtime-chevdor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/publish-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 324f8db

Please sign in to comment.