Fix 15
All checks were successful
godot-ci export / build (push) Successful in 1m14s

This commit is contained in:
2025-06-01 19:27:59 +02:00
parent 8f57d9a0e0
commit f1759b6340

View File

@@ -70,10 +70,10 @@ jobs:
- name: Upload Artifact Windows - name: Upload Artifact Windows
run: | run: |
echo $EXPORT_DIR mkdir -v -p $EXPORT_NAME
echo {{$EXPORT_DIR}} mkdir -v -p {{$EXPORT_NAME}}
echo '${{EXPORT_DIR}}' mkdir -v -p '${{EXPORT_NAME}}'
echo '${{EXPORT_NAME}}_${{GAME_VERSION}}' mkdir -v -p '${{EXPORT_NAME}}_${{GAME_VERSION}}'
ls -la build ls -la build
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/$EXPORT_NAME.exe" \ --upload-file "build/$EXPORT_NAME.exe" \
@@ -81,7 +81,6 @@ jobs:
- name: Upload Artifact Linux - name: Upload Artifact Linux
run: | run: |
echo $EXPORT_DIR
ls -la build ls -la build
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/$EXPORT_NAME.x86_64" \ --upload-file "build/$EXPORT_NAME.x86_64" \
@@ -89,18 +88,18 @@ jobs:
- name: Upload Artifact MacOS - name: Upload Artifact MacOS
run: | run: |
echo $EXPORT_DIR
ls -la build ls -la build
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/$EXPORT_NAME.zip" \ --upload-file "build/$EXPORT_NAME.zip" \
https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.zip https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.zip
- name: Create release - name: Create release
uses: https://gitea.com/actions/release-action@main uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with: with:
files: |- files: |-
build/** build/**
api_key: '${{ secrets.TOKEN }}'
# uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
# with: # with: