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