-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1027 from wintercms/develop
- Loading branch information
Showing
151 changed files
with
2,552 additions
and
732 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 |
---|---|---|
@@ -1 +1,10 @@ | ||
* text=auto | ||
* text=auto | ||
|
||
*.md diff=markdown | ||
*.php diff=php | ||
|
||
/.github export-ignore | ||
/.gitpod export-ignore | ||
.gitattributes export-ignore | ||
.gitpod.yml export-ignore | ||
CHANGELOG.md export-ignore |
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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
name: Manifest | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
updateManifest: | ||
name: Update manifest | ||
runs-on: ubuntu-latest | ||
env: | ||
phpVersion: '8.1' | ||
extensions: curl, fileinfo, gd, mbstring, openssl, pdo, pdo_sqlite, sqlite3, xml, zip | ||
key: winter-cms-cache-develop | ||
steps: | ||
- name: Cancel previous incomplete runs | ||
uses: styfle/cancel-workflow-action@0.8.0 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout changes | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup extension cache | ||
id: extcache | ||
uses: shivammathur/cache-extensions@v1 | ||
with: | ||
php-version: ${{ env.phpVersion }} | ||
extensions: ${{ env.extensions }} | ||
key: ${{ env.key }} | ||
|
||
- name: Cache extensions | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.extcache.outputs.dir }} | ||
key: ${{ steps.extcache.outputs.key }} | ||
restore-keys: ${{ steps.extcache.outputs.key }} | ||
|
||
- name: Install PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ env.phpVersion }} | ||
extensions: ${{ env.extensions }} | ||
|
||
- name: Setup dependency cache | ||
id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- name: Install Composer dependencies | ||
run: composer install --no-interaction --no-progress --no-scripts | ||
|
||
- name: Download manifest | ||
run: wget -O builds.json https://github.com/wintercms/meta/raw/master/manifest/builds.json | ||
|
||
- name: Run manifest | ||
run: php artisan winter:manifest builds.json | ||
|
||
- name: Create artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: winter-manifest | ||
path: builds.json | ||
commitManifest: | ||
name: Commit manifest | ||
runs-on: ubuntu-latest | ||
needs: updateManifest | ||
steps: | ||
- name: Cancel previous incomplete runs | ||
uses: styfle/cancel-workflow-action@0.8.0 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout changes | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: wintercms/meta | ||
ref: master | ||
token: ${{ secrets.WINTER_BOT_TOKEN }} | ||
|
||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: winter-manifest | ||
path: manifest | ||
|
||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Update manifest | ||
commit_user_name: Winter Bot | ||
commit_user_email: 80384029+WinterCMSBot@users.noreply.github.com |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.global-notice { | ||
position: sticky; | ||
top: 0; | ||
display: flex; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
gap: 0.5em; | ||
justify-content: space-between; | ||
z-index: 10500; | ||
background: #ab2a1c; | ||
color: #FFF; | ||
padding: 0.5em 0.75em; | ||
|
||
.notice-icon { | ||
font-size: 1.5em; | ||
vertical-align: bottom; | ||
display: inline-block; | ||
margin-right: .25em; | ||
} | ||
|
||
.notice-text { | ||
display: inline-block; | ||
vertical-align:middle; | ||
} | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.