Skip to content

Commit b61a512

Browse files
committed
use dual needs
1 parent 36342e9 commit b61a512

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,13 @@ jobs:
123123
dependency_cache_key: ${{ steps.compute_lockfile_hash.outputs.hash }}
124124
commit_message: ${{ steps.get_metadata.outputs.commit_message }}
125125

126-
job_metadata:
127-
name: "Commit: ${{ needs.job_install_deps.outputs.commit_message }}"
128-
# name: "Commit: ${{ needs.job_install_deps.outputs.commit_sha }} - ${{ env.COMMIT_MESSAGE }}"
129-
needs: job_install_deps
130-
runs-on: ubuntu-latest
131-
steps:
132-
- name: This is a dummy job, just to display metadata
133-
run: echo ""
134-
135126
job_build:
136127
name: Build
137128
needs: [ job_get_metadata, job_install_deps ]
138129
runs-on: ubuntu-latest
139130
timeout-minutes: 20
140131
steps:
141-
- name: Check out current commit (${{ env.HEAD_COMMIT }})
132+
- name: "Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})"
142133
uses: actions/checkout@v2
143134
with:
144135
ref: ${{ env.HEAD_COMMIT }}

0 commit comments

Comments
 (0)