Skip to content

Commit

Permalink
Reusable CI workflows must be called as jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcserep committed Jun 9, 2023
1 parent 7665f04 commit 986d2f3
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,21 +237,13 @@ jobs:
docker:
needs: parse
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}

runs-on: ubuntu-20.04
steps:
- name: Build Docker images
uses: ./.github/workflows/docker.yml
with:
tag-latest: ${{ github.ref_name == 'master' }}
uses: ./.github/workflows/docker.yml
with:
tag-latest: ${{ github.ref_name == 'master' }}


## TARBALL JOB
tarball:
needs: parse
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}

runs-on: ubuntu-20.04
steps:
- name: Create Tarball
uses: ./.github/workflows/tarball.yml
uses: ./.github/workflows/tarball.yml

0 comments on commit 986d2f3

Please sign in to comment.