mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
Update workflows (#13405)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ca0acdd5b9
commit
17f9f7abbd
2
.github/workflows/Generate-PR.yml
vendored
2
.github/workflows/Generate-PR.yml
vendored
@@ -386,7 +386,7 @@ jobs:
|
||||
- name: Install ruby-libversion # Hopefully this will get added as an Ubuntu/Debian package. https://github.com/repology/libversion/issues/35
|
||||
working-directory: ${{ runner.temp }}
|
||||
run: |
|
||||
git clone --depth 1 -b 3.0.3 https://github.com/repology/libversion
|
||||
git clone --depth 1 -b 3.0.4 https://github.com/repology/libversion
|
||||
cd libversion
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
persist-credentials: true
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4.5'
|
||||
ruby-version: '3.4.7'
|
||||
- name: Check for updates in core and buildessential packages.
|
||||
id: trigger-update-checks
|
||||
run: |
|
||||
|
||||
2
.github/workflows/Repology.yml
vendored
2
.github/workflows/Repology.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4.3'
|
||||
ruby-version: '3.4.7'
|
||||
- name: Install highline
|
||||
run: sudo apt install -y ruby-highline
|
||||
- name: Install activesupport
|
||||
|
||||
2
.github/workflows/Rubocop.yml
vendored
2
.github/workflows/Rubocop.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4'
|
||||
ruby-version: '3.4.7'
|
||||
- name: Rubocop
|
||||
uses: reviewdog/action-rubocop@v2
|
||||
with:
|
||||
|
||||
7
.github/workflows/Updater-on-Demand.yml
vendored
7
.github/workflows/Updater-on-Demand.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
persist-credentials: true
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4.5'
|
||||
ruby-version: '3.4.7'
|
||||
- name: Install Python pip
|
||||
run: sudo apt install -y python3-pip
|
||||
- name: Setup Git.
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Install ruby-libversion # Hopefully this will get added as an Ubuntu/Debian package. https://github.com/repology/libversion/issues/35
|
||||
working-directory: ${{ runner.temp }}
|
||||
run: |
|
||||
git clone --depth 1 -b 3.0.3 https://github.com/repology/libversion
|
||||
git clone --depth 1 -b 3.0.4 https://github.com/repology/libversion
|
||||
cd libversion
|
||||
mkdir build
|
||||
cd build
|
||||
@@ -48,6 +48,7 @@ jobs:
|
||||
id: update-checks
|
||||
run: |
|
||||
set -x
|
||||
export CI=1
|
||||
git pull
|
||||
git stash drop || true
|
||||
echo "pwd is $(pwd)"
|
||||
@@ -57,7 +58,7 @@ jobs:
|
||||
git stash pop || true
|
||||
pkg=${i%.rb}
|
||||
pkg=${pkg#packages/}
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib ruby tools/version.rb -j ${pkg} | jq -r '.[]|.version')"
|
||||
pkg_version="$(LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ruby tools/version.rb -j ${pkg} | jq -r '.[]|.version')"
|
||||
if [[ -z "$pkg_version" ]]; then
|
||||
branch_tag="$(date -u +%F-%H-%M)"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user