Repository: symplify/symplify (php)

Issue:
Update deprecated set-output to GITHUB_OUTPUT
# Feature Request

Currently, scoped build is using deprecated set-output

https://github.com/symplify/symplify/blob/997cfe74daba2d34b95ab35b9efea9f90646f48f/.github/workflows/build_ecs_prefixed.yaml#L101

Ref

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/


 it should be updated 


Pull request:
Upgrade deprecated set-*
Closes #4448

Patch:
diff --git a/.github/workflows/build_ecs_prefixed.yaml b/.github/workflows/build_ecs_prefixed.yaml
index 5166e1cca..d79564cc1 100644
--- a/.github/workflows/build_ecs_prefixed.yaml
+++ b/.github/workflows/build_ecs_prefixed.yaml
@@ -98,7 +98,7 @@ jobs:
             -
                 name: "Get Git log"
                 id: git-log
-                run: echo ::set-output name=log::$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')
+                run: echo "log=$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')" >> $GITHUB_OUTPUT
 
             # 8.A publish it to remote repository without tag
             -
diff --git a/.github/workflows/build_tools.yaml b/.github/workflows/build_tools.yaml
index 39a315ad3..aabee64e0 100644
--- a/.github/workflows/build_tools.yaml
+++ b/.github/workflows/build_tools.yaml
@@ -121,7 +121,7 @@ jobs:
             -
                 name: "Get Git log"
                 id: git-log
-                run: echo ::set-output name=log::$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')
+                run: echo "log=$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')" >> $GITHUB_OUTPUT
 
             # 8.A publish it to remote repository without tag
             -
diff --git a/.github/workflows/downgrade_packages.yaml b/.github/workflows/downgrade_packages.yaml
index c157eabe5..8f114ada6 100644
--- a/.github/workflows/downgrade_packages.yaml
+++ b/.github/workflows/downgrade_packages.yaml
@@ -100,7 +100,7 @@ jobs:
             -
                 name: "Get Git log"
                 id: git-log
-                run: echo ::set-output name=log::$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')
+                run: echo "log=$(git log ${{ github.event.before }}..${{ github.event.after }} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/symplify\/symplify\/commit\//')" >> $GITHUB_OUTPUT
 
             # 8.A publish it to remote repository without tag
             -
diff --git a/.github/workflows/rector.yaml b/.github/workflows/rector.yaml
index 9c8ba2363..3dd4305c3 100644
--- a/.github/workflows/rector.yaml
+++ b/.github/workflows/rector.yaml
@@ -26,7 +26,7 @@ jobs:
             # get package json list
             -
                 id: output_data
-                run: echo "::set-output name=matrix::$(packages/monorepo-builder/bin/monorepo-builder packages-json)"
+                run: echo "matrix=$(packages/monorepo-builder/bin/monorepo-builder packages-json)" >> $GITHUB_OUTPUT
 
         outputs:
             matrix: ${{ steps.output_data.outputs.matrix }}
diff --git a/.github/workflows/split_monorepo.yaml b/.github/workflows/split_monorepo.yaml
index 93ec9d39a..5823f2ec1 100644
--- a/.github/workflows/split_monorepo.yaml
+++ b/.github/workflows/split_monorepo.yaml
@@ -28,7 +28,7 @@ jobs:
             # get package json list
             -
                 id: output_data
-                run: echo "::set-output name=matrix::$(packages/monorepo-builder/bin/monorepo-builder packages-json --exclude-package easy-coding-standard --exclude-package monorepo-builder --exclude-package config-transformer --exclude-package easy-ci --exclude-package vendor-patches --exclude-package phpstan-rules)"
+                run: echo "matrix=$(packages/monorepo-builder/bin/monorepo-builder packages-json --exclude-package easy-coding-standard --exclude-package monorepo-builder --exclude-package config-transformer --exclude-package easy-ci --exclude-package vendor-patches --exclude-package phpstan-rules)" >> $GITHUB_OUTPUT
 
         # this step is needed, so the output gets to the next defined job
         outputs:


Test patch:
diff --git a/.github/workflows/split_tests.yaml b/.github/workflows/split_tests.yaml
index 0e12d1f0b..45886fe64 100644
--- a/.github/workflows/split_tests.yaml
+++ b/.github/workflows/split_tests.yaml
@@ -24,7 +24,7 @@ jobs:
             # get package json list
             -
                 id: output_data
-                run: echo "::set-output name=matrix::$(packages/monorepo-builder/bin/monorepo-builder packages-json --tests)"
+                run: echo "matrix=$(packages/monorepo-builder/bin/monorepo-builder packages-json --tests)" >> $GITHUB_OUTPUT
 
         outputs:
             matrix: ${{ steps.output_data.outputs.matrix }}