Skip to content

Commit 272c0ed

Browse files
committed
[Bug Fix + Test] (config) Fix the issue about 'job.<job id>.needs'.
1 parent 973ecca commit 272c0ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test_gh_reusable_workflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
# name: Create new git branch by the tagged commit
4141
needs: test_build_git-tag_and_create_github-release
4242
if: ${{ github.event_name == 'push' &&
43-
needs.build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version != 'Initial' &&
44-
needs.build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version != 'Pre' }}
43+
needs.test_build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version != 'Initial' &&
44+
needs.test_build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version != 'Pre' }}
4545
runs-on: ubuntu-latest
4646
env:
47-
RELEASE_TYPE: ${{ needs.build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version }}
47+
RELEASE_TYPE: ${{ needs.test_build_git-tag_and_create_github-release.outputs.github-action_reusable_workflow_release_version }}
4848
steps:
4949
- uses: actions/checkout@v2
5050

0 commit comments

Comments
 (0)