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