mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -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
|
- 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 }}
|
working-directory: ${{ runner.temp }}
|
||||||
run: |
|
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
|
cd libversion
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.4.5'
|
ruby-version: '3.4.7'
|
||||||
- name: Check for updates in core and buildessential packages.
|
- name: Check for updates in core and buildessential packages.
|
||||||
id: trigger-update-checks
|
id: trigger-update-checks
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/Repology.yml
vendored
2
.github/workflows/Repology.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.4.3'
|
ruby-version: '3.4.7'
|
||||||
- name: Install highline
|
- name: Install highline
|
||||||
run: sudo apt install -y ruby-highline
|
run: sudo apt install -y ruby-highline
|
||||||
- name: Install activesupport
|
- 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: actions/checkout@v5
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.4'
|
ruby-version: '3.4.7'
|
||||||
- name: Rubocop
|
- name: Rubocop
|
||||||
uses: reviewdog/action-rubocop@v2
|
uses: reviewdog/action-rubocop@v2
|
||||||
with:
|
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
|
persist-credentials: true
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.4.5'
|
ruby-version: '3.4.7'
|
||||||
- name: Install Python pip
|
- name: Install Python pip
|
||||||
run: sudo apt install -y python3-pip
|
run: sudo apt install -y python3-pip
|
||||||
- name: Setup Git.
|
- 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
|
- 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 }}
|
working-directory: ${{ runner.temp }}
|
||||||
run: |
|
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
|
cd libversion
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@@ -48,6 +48,7 @@ jobs:
|
|||||||
id: update-checks
|
id: update-checks
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
|
export CI=1
|
||||||
git pull
|
git pull
|
||||||
git stash drop || true
|
git stash drop || true
|
||||||
echo "pwd is $(pwd)"
|
echo "pwd is $(pwd)"
|
||||||
@@ -57,7 +58,7 @@ jobs:
|
|||||||
git stash pop || true
|
git stash pop || true
|
||||||
pkg=${i%.rb}
|
pkg=${i%.rb}
|
||||||
pkg=${pkg#packages/}
|
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
|
if [[ -z "$pkg_version" ]]; then
|
||||||
branch_tag="$(date -u +%F-%H-%M)"
|
branch_tag="$(date -u +%F-%H-%M)"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user