Update .github/workflows/build_push.yml
All checks were successful
CI / Prepare job (push) Successful in 21s
CI / Build individual modules (push) Successful in 4m10s
CI / Publish repo (push) Successful in 1m41s

This commit is contained in:
AlmightyHak 2025-06-19 12:26:35 -05:00
parent 794bddeac8
commit 9a5e2a9083

View file

@ -31,22 +31,27 @@ jobs:
ref: main
token: ${{ secrets.BOT_PAT }}
- name: Find lib changes
id: modified-libs
uses: https://github.com/tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 #v42
with:
files: lib/
files_ignore: lib/**.md
files_separator: " "
safe_output: false
# This step is going to commit, but this will not trigger another workflow.
- name: Bump extensions that uses a modified lib
if: steps.modified-libs.outputs.any_changed == 'true'
run: |
./.github/scripts/bump-versions.py ${{ steps.modified-libs.outputs.all_changed_files }}
- 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
# - name: Find lib changes
# id: modified-libs
# uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 #v42
# with:
# files: lib/
# files_ignore: lib/**.md
# files_separator: " "
# safe_output: false
- name: Import GPG key
uses: https://github.com/crazy-max/ghaction-import-gpg@v6 # v6.1.0
with: