8000 minor #18175 Migrate the CI away from deprecated features (stof) · symfony/symfony-docs@374e521 · GitHub
[go: up one dir, main page]

Skip to content

Commit 374e521

Browse files
committed
minor #18175 Migrate the CI away from deprecated features (stof)
This PR was merged into the 5.4 branch. Discussion ---------- Migrate the CI away from deprecated features See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Commits ------- 578a88b Migrate the CI away from deprecated features
2 parents 5dd2322 + 578a88b commit 374e521

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Get composer cache directory
3434
id: composercache
3535
working-directory: _build
36-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
36+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3737

3838
- name: Cache dependencies
3939
uses: actions/cache@v3
@@ -63,7 +63,7 @@ jobs:
6363
run: mkdir .cache
6464

6565
- name: "Extract base branch name"
66-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_BASE_REF:=${GITHUB_REF##*/}})"
66+
run: echo "branch=$(echo ${GITHUB_BASE_REF:=${GITHUB_REF##*/}})" >> $GITHUB_OUTPUT
6767
id: extract_base_branch
6868

6969
- name: "Cache DOCtor-RST"
@@ -100,12 +100,12 @@ jobs:
100100
- name: Find modified files
101101
id: find-files
102102
working-directory: docs
103-
run: echo "::set-output name=files::$(git diff --name-only origin/${{ github.base_ref }} HEAD | grep ".rst" | tr '\n' ' ')"
103+
run: echo "files=$(git diff --name-only origin/${{ github.base_ref }} HEAD | grep ".rst" | tr '\n' ' ')" >> $GITHUB_OUTPUT
104104

105105
- name: Get composer cache directory
106106
id: composercache
107107
working-directory: docs/_build
108-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
108+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
109109

110110
- name: Cache dependencies
111111
if: ${{ steps.find-files.outputs.files }}

0 commit comments

Comments
 (0)
0