From 2439ede44acf5257c8533693bdf8a588d682a3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=E5=B0=8F=E9=80=8F=E6=98=8E=E3=83=BB=E5=AE=B8?= =?UTF-8?q?=E2=9C=A8?= <47057319+TransparentLC@users.noreply.github.com> Date: Tue, 10 Jan 2023 10:33:30 +0800 Subject: [PATCH] Update build.yml [skip ci] --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85ca65f..fe482d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: rm -rf dist/realesrgan-gui fi - name: Upload result - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: realesrgan-gui-${{ runner.os }} path: dist @@ -158,11 +158,9 @@ jobs: cd .. done - RELEASE_FILES=$(find release -type f) - RELEASE_FILES="${RELEASE_FILES//'%'/'%25'}" - RELEASE_FILES="${RELEASE_FILES//$'\n'/'%0A'}" - RELEASE_FILES="${RELEASE_FILES//$'\r'/'%0D'}" - echo "release_files=${RELEASE_FILES}" >> $GITHUB_OUTPUT + echo "release_files<> $GITHUB_OUTPUT + find release -type f >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Release automated build uses: softprops/action-gh-release@v1 if: ${{ github.event.inputs.release }}