Skip to content

Commit 2eca0c6

Browse files
committed
ci: name all steps
1 parent 0efaa87 commit 2eca0c6

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
variant: [default, large-strings, advanced-logging]
1919
steps:
20-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20+
- name: Checkout
21+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2122

2223
- name: Setup NSIS
2324
id: nsis
@@ -69,23 +70,31 @@ jobs:
6970
windows-combo-rejected:
7071
runs-on: windows-latest
7172
steps:
72-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
73-
- id: nsis
73+
- name: Checkout
74+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
75+
- name: Setup NSIS with both special builds
76+
id: nsis
7477
continue-on-error: true
7578
uses: ./
7679
with:
7780
large-strings: true
7881
advanced-logging: true
79-
- shell: bash
82+
83+
- name: Check the step failed
84+
shell: bash
8085
run: '[ "${{ steps.nsis.outcome }}" = failure ]'
8186

8287
pinned-version:
8388
runs-on: ubuntu-latest
8489
steps:
85-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
86-
- id: nsis
90+
- name: Checkout
91+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
92+
- name: Setup NSIS
93+
id: nsis
8794
uses: ./
8895
with:
8996
version: "3.10"
90-
- shell: bash
97+
98+
- name: Check the pinned version was used
99+
shell: bash
91100
run: '[ "${{ steps.nsis.outputs.version }}" = "3.10" ] && makensis -VERSION | grep -q 3.10'

0 commit comments

Comments
 (0)