Skip to content

Commit

Permalink
Update github-actions to 4.10.1 (#142)
Browse files Browse the repository at this point in the history
* Fix custom yaml handling
  • Loading branch information
release-github-action[bot] authored May 2, 2024
1 parent f7a6398 commit 183c305
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/call-universal_test_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
# Generated from workflow input custom_testplan_yaml
${{ inputs.custom_testplan_yaml }}
EOF
# The next line can be removed in v5 when the transition to yaml is finished
cp '${{ inputs.plan_folder }}/_custom.yaml' '${{ inputs.plan_folder }}/_custom.yml'
TESTPLAN=$(echo "${{ inputs.testplan }}"|sed -e 's|~|${{ inputs.plan_folder }}|g')
echo "testplan=${{ inputs.plan_folder }}/defaults/defaults.yaml,${TESTPLAN}" >>"${GITHUB_OUTPUT}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/call-universal_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
# Generated from workflow input custom_testplan_yaml
${{ inputs.custom_testplan_yaml }}
EOF
# The next line can be removed in v5 when the transition to yaml is finished
cp '${{ inputs.plan_folder }}/_custom.yaml' '${{ inputs.plan_folder }}/_custom.yml'
TESTPLAN=$(echo "${{ inputs.testplan }}"|sed -e 's|~|${{ inputs.plan_folder }}|g')
echo "testplan=${{ inputs.plan_folder }}/defaults/defaults.yaml,${TESTPLAN}" >>"${GITHUB_OUTPUT}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/universal_workflow_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
# Generated from workflow input custom_testplan_yaml
${{ inputs.custom_testplan_yaml }}
EOF
# The next line can be removed in v5 when the transition to yaml is finished
cp '${{ inputs.plan_folder }}/_custom.yaml' '${{ inputs.plan_folder }}/_custom.yml'
if [ '${{ github.event_name }}' == 'pull_request' ]; then
REF=$(echo '{{ .Github.HeadRef }}'|sed -e 's|/refs/heads/||')
# This is the git ref name
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/universal_workflow_light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
# Generated from workflow input custom_testplan_yaml
${{ inputs.custom_testplan_yaml }}
EOF
# The next line can be removed in v5 when the transition to yaml is finished
cp '${{ inputs.plan_folder }}/_custom.yaml' '${{ inputs.plan_folder }}/_custom.yml'
if [ '${{ github.event_name }}' == 'pull_request' ]; then
REF=$(echo '{{ .Github.HeadRef }}'|sed -e 's|/refs/heads/||')
# This is the git ref name
Expand Down

0 comments on commit 183c305

Please sign in to comment.