mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Add excluded files from "exports", tweak tests workflow
This commit is contained in:
parent
788ea70354
commit
003e108536
11
.gitattributes
vendored
11
.gitattributes
vendored
@ -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
|
||||
|
17
.github/workflows/tests.yml
vendored
17
.github/workflows/tests.yml
vendored
@ -65,13 +65,13 @@ jobs:
|
||||
run: php ./.github/workflows/utilities/library-switcher "1.2.x-dev as 1.2"
|
||||
|
||||
- name: Setup dependency cache
|
||||
id: composercache
|
||||
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
id: composer-cache
|
||||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.composercache.outputs.dir }}
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||
restore-keys: ${{ runner.os }}-composer-
|
||||
|
||||
@ -133,9 +133,6 @@ jobs:
|
||||
php-version: ${{ matrix.phpVersion }}
|
||||
extensions: ${{ env.extensions }}
|
||||
|
||||
- name: Echo branches
|
||||
run: echo "${{ github.ref }} | ${{ github.head_ref }} | ${{ github.ref_name }} | ${{ github.base_ref }}"
|
||||
|
||||
- name: Switch library dependency (develop)
|
||||
if: github.ref == 'refs/heads/develop' || github.base_ref == 'develop'
|
||||
run: php ./.github/workflows/utilities/library-switcher "dev-develop as 1.2"
|
||||
@ -153,13 +150,13 @@ jobs:
|
||||
run: php ./.github/workflows/utilities/library-switcher "1.2.x-dev as 1.2"
|
||||
|
||||
- name: Setup dependency cache
|
||||
id: composercache
|
||||
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
id: composer-cache
|
||||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.composercache.outputs.dir }}
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||
restore-keys: ${{ runner.os }}-composer-
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user