set-output command deprecated in last release

Đang mở
#118 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, shell
Lĩnh vực
ci-cd, devops, release

Hướng nghiên cứu

Bắt đầu bằng cách so sánh release 2.1.1 với commit c85e3f4212e9b58b3c617b9715a4d941ae002a4d, mà issue xác định là bản fix. Xác nhận rằng action đã phát hành không còn phát ra cảnh báo set-output, sau đó kiểm tra rằng một release mới bao gồm thay đổi này và có thể được sử dụng trong workflow tái hiện đã được ghi chép.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted type:bug

Describe the bug

Hi, and thanks for this useful action :)

When running the last 2.1.1 release, there is a warning :

The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Reading the content of the link to follow, we have :

Starting 1st June 2023 workflows using save-state or set-output commands via stdout will fail with an error.

I saw that it has been fixed in this commit : https://github.com/10up/action-wordpress-plugin-deploy/commit/c85e3f4212e9b58b3c617b9715a4d941ae002a4d

Is it possible to have a new release that include this commit (or to schedule one before June)?

Steps to Reproduce

  1. Run the 2.1.1 version

Expected behavior
No warning

Additional context

Ngôn ngữ chính
Shell
Star
665
Fork
115
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của 10up/action-wordpress-plugin-deploy

Tất cả issue của 10up/action-wordpress-plugin-deploy

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.