fix: remove build path normalization step and update artifact upload parameters
This commit is contained in:
@@ -61,22 +61,11 @@ jobs:
|
|||||||
BLENDER_VERSION: "5.0.0"
|
BLENDER_VERSION: "5.0.0"
|
||||||
VERBOSE_IMPORT: "false"
|
VERBOSE_IMPORT: "false"
|
||||||
|
|
||||||
- name: Normalize build path
|
|
||||||
id: normalize
|
|
||||||
run: |
|
|
||||||
# Assuming your build outputs are in build/<platform>/
|
|
||||||
PLATFORM_PATH="build/${{ matrix.preset }}"
|
|
||||||
if [ ! -d "$PLATFORM_PATH" ]; then
|
|
||||||
echo "Build folder not found for ${{ matrix.preset }}"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "path=$PLATFORM_PATH" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Upload builds
|
- name: Upload builds
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
|
name: ${{ matrix.preset }}-build
|
||||||
path: ${{ steps.normalize.outputs.path }}
|
path: ${{ steps.build.outputs.build }}
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user