Skip to content

Commit

Permalink
Changes for access private members
Browse files Browse the repository at this point in the history
  • Loading branch information
ladisgin committed Nov 25, 2021
1 parent d5d21b7 commit 0bef04a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-utbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
branches: [main]

jobs:
matrix-prep:
matrix_prep:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: |
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
echo "::set-output name=matrix::$TASKS"
uses: JoshuaTheMiller/conditional-build-matrix
with:
inputFile: '.github/workflows/matrix.json'
filter: '[?runOnBranch==`${{ github.ref }}` || runOnBranch==`always`]'

build:
needs: matrix-prep
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/matrix.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ "DOCKER_TAG": "24-11-2021", "OPERATING_SYSTEM_TAG": "18.04"}
[
{
"DOCKER_TAG": "24-11-2021",
"OPERATING_SYSTEM_TAG": "18.04"
}
]
9 changes: 5 additions & 4 deletions .github/workflows/publish-base-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ env:
IMAGE_NAME: base_env

jobs:
matrix-prep:
matrix_prep:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: |
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
echo "::set-output name=matrix::$TASKS"
uses: JoshuaTheMiller/conditional-build-matrix
with:
inputFile: '.github/workflows/matrix.json'
filter: '[?runOnBranch==`${{ github.ref }}` || runOnBranch==`always`]'

build-docker:
needs: matrix-prep
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish-utbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
branches: [main]

jobs:
matrix-prep:
matrix_prep:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: |
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
echo "::set-output name=matrix::$TASKS"
uses: JoshuaTheMiller/conditional-build-matrix
with:
inputFile: '.github/workflows/matrix.json'
filter: '[?runOnBranch==`${{ github.ref }}` || runOnBranch==`always`]'

publish:
needs: matrix-prep
Expand Down

0 comments on commit 0bef04a

Please sign in to comment.