File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 76
76
curl -L -X PUT ${{ env.MIRROR_SITE_URL }}/${{ env.TYPST_FILE_NAME }}.pdf -F file=@${{ env.TYPST_FILE_NAME }}.pdf -F token=${{ env.MIRROR_SITE_TOKEN }}
77
77
78
78
- name : Delete old Release
79
- uses : actions/github-script@v5
79
+ uses : actions/github-script@v7
80
80
with :
81
81
github-token : ${{ secrets.GITHUB_TOKEN }}
82
82
script : |
@@ -89,11 +89,11 @@ jobs:
89
89
- name : Generate release tag
90
90
id : tag
91
91
run : |
92
- echo "::set-output name= release_date:: $(date +"%Y 年 %m 月 %d 日 %H 点 %M 分")"
93
- echo "::set-output name= release_tag:: latest_$(date +"%Y-%m-%d_%H-%M")"
92
+ echo "release_date= $(date +"%Y 年 %m 月 %d 日 %H 点 %M 分")" >> $GITHUB_OUTPUT
93
+ echo "release_tag= latest_$(date +"%Y-%m-%d_%H-%M")" >> $GITHUB_OUTPUT
94
94
95
95
- name : Release
96
- uses : softprops/action-gh-release@v1
96
+ uses : softprops/action-gh-release@v2
97
97
with :
98
98
name : 伟大,无需多言
99
99
body : |
You can’t perform that action at this time.
0 commit comments