Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
TransparentLC committed Jan 10, 2023
1 parent ddeb642 commit 2439ede
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<<EOF" >> $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 }}
Expand Down

0 comments on commit 2439ede

Please sign in to comment.