mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #9251 from weirdan/update-workflow-to-use-non-deprecated-method-of-setting-step-output
This commit is contained in:
commit
d66981ad90
4
.github/workflows/bcc.yml
vendored
4
.github/workflows/bcc.yml
vendored
@ -20,8 +20,8 @@ jobs:
|
||||
- name: Get Composer Cache Directories
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=files_cache::$(composer config cache-files-dir)"
|
||||
echo "::set-output name=vcs_cache::$(composer config cache-vcs-dir)"
|
||||
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache composer cache
|
||||
uses: actions/cache@v3
|
||||
|
4
.github/workflows/build-phar.yml
vendored
4
.github/workflows/build-phar.yml
vendored
@ -49,8 +49,8 @@ jobs:
|
||||
- name: Get Composer Cache Directories
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=files_cache::$(composer config cache-files-dir)"
|
||||
echo "::set-output name=vcs_cache::$(composer config cache-vcs-dir)"
|
||||
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache composer cache
|
||||
uses: actions/cache@v3
|
||||
|
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -21,8 +21,8 @@ jobs:
|
||||
- name: Get Composer Cache Directories
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=files_cache::$(composer config cache-files-dir)"
|
||||
echo "::set-output name=vcs_cache::$(composer config cache-vcs-dir)"
|
||||
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache composer cache
|
||||
uses: actions/cache@v3
|
||||
@ -58,8 +58,8 @@ jobs:
|
||||
- id: chunk-matrix
|
||||
name: Generates the Chunk Matrix
|
||||
run: |
|
||||
echo "::set-output name=count::$(php -r 'echo json_encode([ ${{ env.CHUNK_COUNT }} ]);')"
|
||||
echo "::set-output name=chunks::$(php -r 'echo json_encode(range(1, ${{ env.CHUNK_COUNT }} ));')"
|
||||
echo "count=$(php -r 'echo json_encode([ ${{ env.CHUNK_COUNT }} ]);')" >> $GITHUB_OUTPUT
|
||||
echo "chunks=$(php -r 'echo json_encode(range(1, ${{ env.CHUNK_COUNT }} ));')" >> $GITHUB_OUTPUT
|
||||
|
||||
tests:
|
||||
name: "Unit Tests - ${{ matrix.chunk }}"
|
||||
@ -94,8 +94,8 @@ jobs:
|
||||
- name: Get Composer Cache Directories
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=files_cache::$(composer config cache-files-dir)"
|
||||
echo "::set-output name=vcs_cache::$(composer config cache-vcs-dir)"
|
||||
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache composer cache
|
||||
uses: actions/cache@v3
|
||||
|
10
.github/workflows/windows-ci.yml
vendored
10
.github/workflows/windows-ci.yml
vendored
@ -23,8 +23,9 @@ jobs:
|
||||
- id: chunk-matrix
|
||||
name: Generates the Chunk Matrix
|
||||
run: |
|
||||
echo "::set-output name=count::$(php -r 'echo json_encode([ ${{ env.CHUNK_COUNT }} ]);')"
|
||||
echo "::set-output name=chunks::$(php -r 'echo json_encode(range(1, ${{ env.CHUNK_COUNT }} ));')"
|
||||
echo "count=$(php -r 'echo json_encode([ ${{ env.CHUNK_COUNT }} ]);')" >> $GITHUB_OUTPUT
|
||||
echo "chunks=$(php -r 'echo json_encode(range(1, ${{ env.CHUNK_COUNT }} ));')" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
tests:
|
||||
name: "Unit Tests - ${{ matrix.chunk }}"
|
||||
@ -64,8 +65,9 @@ jobs:
|
||||
- name: Get Composer Cache Directories
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=files_cache::$(composer config cache-files-dir)"
|
||||
echo "::set-output name=vcs_cache::$(composer config cache-vcs-dir)"
|
||||
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Cache composer cache
|
||||
uses: actions/cache@v3
|
||||
|
Loading…
Reference in New Issue
Block a user