mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Move i686 builds up in build workflows. (#10852)
* Move i686 builds up in build workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Sync Updater and Build workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix code duplication Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a203ae4357
commit
65397de4c7
4
.github/workflows/Build.yml
vendored
4
.github/workflows/Build.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
strategy:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
arch: [x86_64, armv7l, i686]
|
||||
arch: [i686, x86_64, armv7l]
|
||||
runner:
|
||||
- [self-hosted, X64]
|
||||
- [self-hosted, ARM]
|
||||
@@ -168,7 +168,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name 'github-actions[bot]'
|
||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git fetch --depth=5
|
||||
git fetch --shallow-since="1 week"
|
||||
mapfile -t updated_package_array < <( git diff-tree --no-commit-id --name-only -r $(git rev-parse origin/master)..$(git rev-parse --verify HEAD) | grep -v manifest | grep "^packages" | sed -e 's,packages/,,' -e 's,.rb,,')
|
||||
echo -e "Updated packages:" > /tmp/pr.txt
|
||||
for file in "${updated_package_array[@]}"
|
||||
|
||||
4
.github/workflows/Updater.yml
vendored
4
.github/workflows/Updater.yml
vendored
@@ -103,7 +103,7 @@ jobs:
|
||||
strategy:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
arch: [x86_64, armv7l, i686]
|
||||
arch: [i686, x86_64, armv7l]
|
||||
runner:
|
||||
- [self-hosted, X64]
|
||||
- [self-hosted, ARM]
|
||||
@@ -223,7 +223,7 @@ jobs:
|
||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git fetch --shallow-since="1 week"
|
||||
git diff-tree --no-commit-id --name-only -r $(git rev-parse origin/master)..$(git rev-parse --verify HEAD)
|
||||
mapfile -t updated_package_array < <( git diff-tree --no-commit-id --name-only -r $(git diff-tree --no-commit-id --name-only -r $(git rev-parse origin/master)..$(git rev-parse --verify HEAD)) | grep -v manifest | grep "^packages" | sed -e 's,packages/,,' -e 's,.rb,,')
|
||||
mapfile -t updated_package_array < <( git diff-tree --no-commit-id --name-only -r $(git rev-parse origin/master)..$(git rev-parse --verify HEAD) | grep -v manifest | grep "^packages" | sed -e 's,packages/,,' -e 's,.rb,,')
|
||||
echo -e "Updated packages:" > /tmp/pr.txt
|
||||
for file in "${updated_package_array[@]}"
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user