Skip to content

Commit a049898

Browse files
committed
github: Change conditional step names to reflect result of condition, not the check
1 parent 559b8a6 commit a049898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test_actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Set up Poetry
7474
id: setup-poetry
7575
uses: ./setup-poetry
76-
- name: Expect cache hit
76+
- name: Error if cache miss
7777
if: steps.setup-poetry.outputs.cache-hit != 'true'
7878
run: echo "::error title=Test Failure::Expected cache hit."; exit 1
7979
shell: bash
@@ -107,7 +107,7 @@ jobs:
107107
uses: ./setup-poetry
108108
with:
109109
use-cache: false
110-
- name: Expect cache miss
110+
- name: Error if cache hit
111111
if: steps.setup-poetry.outputs.cache-hit == 'true'
112112
run: echo "::error title=Test Failure::Expected cache miss."; exit 1
113113
shell: bash

0 commit comments

Comments
 (0)