Make WordPress Core


Ignore:
Timestamp:
10/19/2022 06:10:43 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Remove use of set-output in Action workflows.

The save-state and set-output commands have been deprecated in GitHub Actions. This removes all occurrences of the command within workflow steps.

This will not remove all deprecated notices from workflow summaries (some third-party actions still contain instances of these commands and need to be fixed upstream), but it will fix the notices caused by custom workflow code.

See #56820.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r54511 r54649  
    7878      - name: "Get last Monday's date"
    7979        id: get-date
    80         run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
     80        run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
    8181
    8282      - name: Cache PHP compatibility scan cache
Note: See TracChangeset for help on using the changeset viewer.