Skip to content

Commit 986d2f3

Browse files
committed
Reusable CI workflows must be called as jobs.
1 parent 7665f04 commit 986d2f3

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -237,21 +237,13 @@ jobs:
237237
docker:
238238
needs: parse
239239
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}
240-
241-
runs-on: ubuntu-20.04
242-
steps:
243-
- name: Build Docker images
244-
uses: ./.github/workflows/docker.yml
245-
with:
246-
tag-latest: ${{ github.ref_name == 'master' }}
240+
uses: ./.github/workflows/docker.yml
241+
with:
242+
tag-latest: ${{ github.ref_name == 'master' }}
247243

248244

249245
## TARBALL JOB
250246
tarball:
251247
needs: parse
252248
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}
253-
254-
runs-on: ubuntu-20.04
255-
steps:
256-
- name: Create Tarball
257-
uses: ./.github/workflows/tarball.yml
249+
uses: ./.github/workflows/tarball.yml

0 commit comments

Comments
 (0)