Skip to content

Commit

Permalink
[renpy-build-actions] Remove empty var check
Browse files Browse the repository at this point in the history
  • Loading branch information
alicerunsonfedora committed Sep 21, 2019
1 parent 39b9651 commit 63328eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This GitHub action allows you to make distributable builds of a Ren'Py visual no
uses: ProjectAliceDev/renpy-build-action@master
with:
sdk-version: '6.99.12.4'
project-dir: '.'
env:
SDL_AUDIODRIVER: dummy
SDL_VIDEODRIVER: dummy
Expand Down
11 changes: 2 additions & 9 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ tar -xf ./${sdk_name}.tar.bz2
rm ./${sdk_name}.tar.bz2
mv ./${sdk_name} ../renpy

if [ -z "$2" ]; then
echo "Building the project at $2..."
../renpy/renpy.sh ../renpy/launcher distribute $2

else
echo "Building the project at root..."
../renpy/renpy.sh ../renpy/launcher distribute .

fi
echo "Building the project at $2..."
../renpy/renpy.sh ../renpy/launcher distribute $2

built_dir=$(ls | grep '\-dists')
echo ::set-output name=dir::$built_dir
Expand Down

0 comments on commit 63328eb

Please sign in to comment.