This commit is contained in:
@@ -31,4 +31,6 @@ jobs:
|
|||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
"**/*.tar.gz"
|
"build/release/web.tar.gz"
|
||||||
|
"build/debug/web-debug.tar.gz"
|
||||||
|
"build/**/*.appimage"
|
||||||
7
build.sh
7
build.sh
@@ -41,9 +41,8 @@ echo "Building $WEB..."
|
|||||||
mkdir -p $RELEASE_EXPORT_DIR/$WEB
|
mkdir -p $RELEASE_EXPORT_DIR/$WEB
|
||||||
godot --headless --verbose --export-release "Web" "$RELEASE_EXPORT_DIR/$WEB/index.html"
|
godot --headless --verbose --export-release "Web" "$RELEASE_EXPORT_DIR/$WEB/index.html"
|
||||||
cd $RELEASE_EXPORT_DIR
|
cd $RELEASE_EXPORT_DIR
|
||||||
tar cfz ../$WEB.tar.gz web
|
tar cfz $WEB.tar.gz web
|
||||||
cd $BASE_RELATIVE_DIR
|
cd ../../
|
||||||
|
|
||||||
echo "Debug builds..."
|
echo "Debug builds..."
|
||||||
|
|
||||||
DEBUG_EXPORT_DIR=$EXPORT_DIR/debug
|
DEBUG_EXPORT_DIR=$EXPORT_DIR/debug
|
||||||
@@ -75,6 +74,6 @@ echo "Building $WEB..."
|
|||||||
mkdir -p $DEBUG_EXPORT_DIR/$WEB
|
mkdir -p $DEBUG_EXPORT_DIR/$WEB
|
||||||
godot --headless --verbose --export-debug "Web" "$DEBUG_EXPORT_DIR/$WEB/index.html"
|
godot --headless --verbose --export-debug "Web" "$DEBUG_EXPORT_DIR/$WEB/index.html"
|
||||||
cd $DEBUG_EXPORT_DIR
|
cd $DEBUG_EXPORT_DIR
|
||||||
tar cfz ../$WEB-debug.tar.gz web
|
tar cfz $WEB-debug.tar.gz web
|
||||||
|
|
||||||
echo "Finish!🎉"
|
echo "Finish!🎉"
|
||||||
Reference in New Issue
Block a user