diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 680855e..6ee4d5f 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -70,10 +70,10 @@ jobs: - name: Upload Artifact Windows run: | - echo $EXPORT_DIR - echo {{$EXPORT_DIR}} - echo '${{EXPORT_DIR}}' - echo '${{EXPORT_NAME}}_${{GAME_VERSION}}' + mkdir -v -p $EXPORT_NAME + mkdir -v -p {{$EXPORT_NAME}} + mkdir -v -p '${{EXPORT_NAME}}' + mkdir -v -p '${{EXPORT_NAME}}_${{GAME_VERSION}}' ls -la build curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ --upload-file "build/$EXPORT_NAME.exe" \ @@ -81,7 +81,6 @@ jobs: - name: Upload Artifact Linux run: | - echo $EXPORT_DIR ls -la build curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ --upload-file "build/$EXPORT_NAME.x86_64" \ @@ -89,18 +88,18 @@ jobs: - name: Upload Artifact MacOS run: | - echo $EXPORT_DIR ls -la build curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \ --upload-file "build/$EXPORT_NAME.zip" \ https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.zip - 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: files: |- build/** - api_key: '${{ secrets.TOKEN }}' # uses: actions/upload-artifact@v4 # with: