Skip to content

Commit 65bd4ae

Browse files
committed
build-and-deploy: reflect whether we're actually deploying
The display name of the step that either deploys or test-deploys the package(s) should reflect whether it is an actual deploy: If the run was meant to only build the package but not deploy it, it can be scary to read "Deploy <package>"... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 5439469 commit 65bd4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ jobs:
257257
echo "::add-mask::$(echo "$AZURE_BLOBS_TOKEN" | base64 -w 0)" &&
258258
echo "$AZURE_BLOBS_TOKEN" >"$HOME"/.azure-blobs-token
259259
260-
- name: Deploy Pacman packages
260+
- name: ${{ env.BUILD_ONLY == 'true' && 'Test-deploy' || 'Deploy' }} Pacman packages
261261
if: env.BUILD_ONLY == 'true' || env.AZURE_BLOBS_TOKEN != ''
262262
shell: bash
263263
env:

0 commit comments

Comments
 (0)