diff --git a/.github/workflows/X-x86_64_X.yml b/.github/workflows/X-x86_64_X.yml index 7fb6a59..eddb482 100644 --- a/.github/workflows/X-x86_64_X.yml +++ b/.github/workflows/X-x86_64_X.yml @@ -65,7 +65,7 @@ jobs: - name: Get current date & Set env id: date run: | - echo "::set-output name=date::$(date +'%Y-%m-%d')" + echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" echo "Release=${{ github.event.inputs.Release }}" >> $GITHUB_ENV echo "SharePoint=${{ github.event.inputs.SharePoint }}" >> $GITHUB_ENV echo "data2=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT diff --git a/.github/workflows/X-x86_64_Y.yml b/.github/workflows/X-x86_64_Y.yml index fc463fc..05b908a 100644 --- a/.github/workflows/X-x86_64_Y.yml +++ b/.github/workflows/X-x86_64_Y.yml @@ -80,7 +80,7 @@ jobs: - name: Set env & Echo System Info id: date run: | - echo "::set-output name=date::$(date +'%Y-%m-%d')" + echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" echo "Release=${{ github.event.inputs.Release }}" >> $GITHUB_ENV echo "SharePoint=${{ github.event.inputs.SharePoint }}" >> $GITHUB_ENV echo "data2=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT diff --git a/.github/workflows/X-x86_64_Z.yml b/.github/workflows/X-x86_64_Z.yml index 509f8aa..163f58a 100644 --- a/.github/workflows/X-x86_64_Z.yml +++ b/.github/workflows/X-x86_64_Z.yml @@ -81,7 +81,7 @@ jobs: - name: Set env & Echo System Info id: date run: | - echo "::set-output name=date::$(date +'%Y-%m-%d')" + echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" echo "Release=${{ github.event.inputs.Release }}" >> $GITHUB_ENV echo "SharePoint=${{ github.event.inputs.SharePoint }}" >> $GITHUB_ENV echo "data2=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT diff --git a/AI_CHANGELOG_GITHUB_OUTPUT_DATE.md b/AI_CHANGELOG_GITHUB_OUTPUT_DATE.md new file mode 100644 index 0000000..ce24b6d --- /dev/null +++ b/AI_CHANGELOG_GITHUB_OUTPUT_DATE.md @@ -0,0 +1,11 @@ +# AI Modification Log: GitHub Output Date + +Date: 2026-06-29 + +## Change + +- Replaced deprecated `::set-output` date output usage in X/Y/Z workflows with `$GITHUB_OUTPUT`. + +## Reason + +GitHub Actions deprecated `::set-output`. Writing `date=...` to `$GITHUB_OUTPUT` preserves the `steps.date.outputs.date` value using the supported output mechanism.