From 6f8be226b0765694080ee78ad55385adff788aca Mon Sep 17 00:00:00 2001 From: DLmaster Date: Fri, 6 Sep 2024 19:42:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index e4b4eec..1b20206 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -70,7 +70,7 @@ jobs: - name: Read version id: read_version run: | - VERSION="$(head -n 1 更新说明.txt)" + $VERSION=(Get-Content -Path "更新说明.txt" -TotalCount 1).Trim() echo "::set-output name=version::$VERSION" - name: Upload Artifact uses: actions/upload-artifact@v4