-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated runner for commits publishing to ubuntu 20
- Loading branch information
1 parent
3242259
commit 7a11989
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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.