Skip to content

Commit 5309bd7

Browse files
committed
Fix up workflow step names
1 parent f1e08e5 commit 5309bd7

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/draft-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
jobs:
2828

2929
list-artifacts:
30-
name: Download and list all artifacts
30+
name: List Artifacts
3131
runs-on: ubuntu-22.04
3232
steps:
3333
# Checkout here so we can easily use custom actions
@@ -38,7 +38,7 @@ jobs:
3838
run: ls -R artifacts/
3939

4040
create-github-release:
41-
name: Download and list all artifacts
41+
name: Draft Release v${{ inputs.salt-version }}
4242
runs-on: ubuntu-22.04
4343
outputs:
4444
upload_url: ${{ steps.create_release.outputs.upload_url }}

.github/workflows/release-artifact.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818

1919
list-files:
20-
name: List Files From Artifact
20+
name: List ${{ inputs.name }}
2121
runs-on: ubuntu-22.04
2222
outputs:
2323
files: ${{ steps.list-files.outputs.files }}
@@ -26,12 +26,13 @@ jobs:
2626
with:
2727
name: ${{ inputs.name }}
2828
path: artifacts
29+
- run: find artifacts -maxdepth 1 -type f -printf '%f\n'
2930
- id: list-files
3031
run: |
3132
echo files="$(find artifacts -maxdepth 1 -type f -printf '%f\n' | jq -Rnc '[inputs | { file: "\(.)" }]')" >> "$GITHUB_OUTPUT"
3233
3334
upload-files:
34-
name: Upload Source Tarball Artifacts
35+
name: Upload ${{ matrix.file }} from ${{ inputs.name }}
3536
runs-on: ubuntu-22.04
3637
needs:
3738
- list-files
@@ -44,10 +45,11 @@ jobs:
4445
name: ${{ inputs.name }}
4546
path: artifacts
4647

47-
- id: file-type
48+
- name: Detect type of ${{ matrix.file }}
49+
id: file-type
4850
run: echo "file_type=$( file --mime-type artifacts/${{ matrix.file }} )" >> "$GITHUB_OUTPUT"
4951

50-
- name: Upload Source Tarball
52+
- name: Upload ${{ matrix.file }}
5153
id: upload-release-asset-source
5254
uses: actions/upload-release-asset@v1
5355
env:

0 commit comments

Comments
 (0)