Update .github/workflows/build_push.yml
This commit is contained in:
parent
0ee5f38e08
commit
c6cfc17edc
1 changed files with 0 additions and 18 deletions
18
.github/workflows/build_push.yml
vendored
18
.github/workflows/build_push.yml
vendored
|
@ -31,11 +31,6 @@ jobs:
|
||||||
ref: main
|
ref: main
|
||||||
token: ${{ secrets.BOT_PAT }}
|
token: ${{ secrets.BOT_PAT }}
|
||||||
|
|
||||||
- name: Get number of modules
|
|
||||||
run: |
|
|
||||||
set -x
|
|
||||||
projects=(src/*/*)
|
|
||||||
echo "NUM_INDIVIDUAL_MODULES=${#projects[@]}" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
# Temporary pause because of leak of tj-actions/changed-files
|
# Temporary pause because of leak of tj-actions/changed-files
|
||||||
# - name: Find lib changes
|
# - name: Find lib changes
|
||||||
|
@ -62,19 +57,6 @@ jobs:
|
||||||
# chmod +x ./.github/scripts/bump-versions.py
|
# chmod +x ./.github/scripts/bump-versions.py
|
||||||
# ./.github/scripts/bump-versions.py ${{ steps.modified-libs.outputs.all_changed_files }}
|
# ./.github/scripts/bump-versions.py ${{ steps.modified-libs.outputs.all_changed_files }}
|
||||||
|
|
||||||
- id: generate-matrices
|
|
||||||
name: Create output matrices
|
|
||||||
uses: https://github.com/actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
const numIndividualModules = process.env.NUM_INDIVIDUAL_MODULES;
|
|
||||||
const chunkSize = process.env.CI_CHUNK_SIZE;
|
|
||||||
|
|
||||||
const numIndividualChunks = 1;
|
|
||||||
|
|
||||||
console.log(`Individual modules: ${numIndividualModules} (${numIndividualChunks} chunks of ${chunkSize})`);
|
|
||||||
|
|
||||||
core.setOutput('individualMatrix', { 'chunk': [...Array(numIndividualChunks).keys()] });
|
|
||||||
|
|
||||||
build_individual:
|
build_individual:
|
||||||
name: Build individual modules
|
name: Build individual modules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue