Skip to content

Commit

Permalink
Updated runner for commits publishing to ubuntu 20
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed Aug 21, 2023
1 parent 3242259 commit 7a11989
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
name: Publishing Commits
needs: unit-tests
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- name: Checkout
Expand All @@ -174,17 +174,8 @@ jobs:
extensions: pcre, json, fileinfo
coverage: none

- name: Install dependencies
run: cd tools/monorepo && composer install --no-progress && cd ../../

- name: Split Commits
run: |
cd tools/monorepo
chmod +x ./bin/splitsh-lite
composer install --no-progress
git config --global user.email "[email protected]"
git config --global user.name "Divine Niiquaye Ibok"
if git diff-index --quiet HEAD --; then
echo "No file changes detected."
else
echo "File changes detected. Creating empty commit."
git add -A && git commit --allow-empty-message -m ""
fi
cd ../../ && php tools/monorepo/bin/monorepo -v
run: cd ../../ && php tools/monorepo/bin/monorepo -v
Empty file modified tools/monorepo/bin/splitsh-lite
100644 → 100755
Empty file.

0 comments on commit 7a11989

Please sign in to comment.