This commit is contained in:
@@ -52,11 +52,10 @@ jobs:
|
||||
- name: Windows Build
|
||||
run: |
|
||||
mkdir -v -p build/windows
|
||||
EXPORT_DIR="$(readlink -f build)"
|
||||
cd $PROJECT_PATH
|
||||
./godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
||||
./godot --headless --verbose --export-release "Windows Desktop" "build/windows/$EXPORT_NAME.exe"
|
||||
|
||||
ls -la "$EXPORT_DIR/windows/"
|
||||
ls -la "build/windows/"
|
||||
- name: Upload Artifact
|
||||
run: |
|
||||
echo $EXPORT_DIR
|
||||
@@ -64,9 +63,9 @@ jobs:
|
||||
ls -la
|
||||
ls -la build
|
||||
ls -la build/windows
|
||||
ls -la "$EXPORT_DIR/windows/"
|
||||
ls -la "build/windows/"
|
||||
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
|
||||
--upload-file "$EXPORT_DIR/windows/$EXPORT_NAME.exe" \
|
||||
--upload-file "build/windows/$EXPORT_NAME.exe" \
|
||||
https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/0.0.1/$EXPORT_NAME.exe
|
||||
|
||||
|
||||
@@ -78,9 +77,8 @@ jobs:
|
||||
- name: Linux Build
|
||||
run: |
|
||||
mkdir -v -p build/linux
|
||||
EXPORT_DIR="$(readlink -f build)"
|
||||
cd $PROJECT_PATH
|
||||
godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
||||
godot --headless --verbose --export-release "Linux/X11" "build/linux/$EXPORT_NAME.x86_64"
|
||||
#- name: Upload Artifact
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user