diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 608e72d..cb1b405 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: unreal_engine_version: [ "4.26.0", "4.27.0", - "5.0.0", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.5.0" + "5.0.0", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.5.0", "5.6.0" ] version: ["free", "full"] @@ -47,11 +47,44 @@ jobs: mv AdvancedControlFlow_UE${{ matrix.unreal_engine_version }}_${{ matrix.version }}.zip release-plugin-${{ matrix.version }} - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 + with: + name: AdvancedControlFlow_${{ matrix.unreal_engine_version }}_${{ matrix.version }} + path: "release-plugin-${{ matrix.version }}" + + merge-plugin-pack: + name: Merge packed plugins + runs-on: ubuntu-latest + needs: [plugin-pack] + strategy: + fail-fast: false + matrix: + version: + ["free", "full"] + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + pattern: AdvancedControlFlow_*_${{ matrix.version }} + merge-multiple: true + path: dist + + - name: Move artifacts + run: | + mkdir release-plugin-${{ matrix.version }} + mv dist/AdvancedControlFlow_*_${{ matrix.version }}.zip release-plugin-${{ matrix.version }} + + - name: Updload artifacts + uses: actions/upload-artifact@v4 with: name: AdvancedControlFlow_${{ matrix.version }} path: "release-plugin-${{ matrix.version }}" + - name: Delete unused artifacts + uses: geekyeggo/delete-artifact@v5 + with: + name: AdvancedControlFlow_*_${{ matrix.version }} + sample-pack: name: Pack sample sources runs-on: ubuntu-latest @@ -66,21 +99,21 @@ jobs: mv samples/SampleProject.zip release-sample - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SampleProject path: "release-sample" publish: name: Publish - needs: [plugin-pack, sample-pack] + needs: [merge-plugin-pack, sample-pack] if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v2 - name: Fetch Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: dist - name: Install hub command diff --git a/AdvancedControlFlow/AdvancedControlFlow.uplugin b/AdvancedControlFlow/AdvancedControlFlow.uplugin index f1117ea..2b7bcf6 100644 --- a/AdvancedControlFlow/AdvancedControlFlow.uplugin +++ b/AdvancedControlFlow/AdvancedControlFlow.uplugin @@ -4,7 +4,7 @@ "VersionName": "1.6.0", "FriendlyName": "Advanced Control Flow", "Description": "Blueprint nodes to realize the complex control flow", - "EngineVersion": "5.5.0", + "EngineVersion": "5.6.0", "Category": "Other", "CreatedBy": "nutti (Colory Games)", "CreatedByURL": "https://github.com/colory-games/UEPlugin-AdvancedControlFlow", diff --git a/README.md b/README.md index 0e462d6..1ff0c2c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ By using this plugin, you can realize this case with only one Multi-Branch node. This plugin supports on the below environment. -* Unreal Engine Version: 4.26-4.27 / 5.0-5.5 +* Unreal Engine Version: 4.26-4.27 / 5.0-5.6 * Development Platforms: Windows / macOS / Linux * Target Build Platforms: All platforms diff --git a/tools/remove_code.sh b/tools/remove_code.sh index 2e847a3..bb5b493 100644 --- a/tools/remove_code.sh +++ b/tools/remove_code.sh @@ -6,7 +6,7 @@ set -eEu SUPPORTED_VERSIONS=( "4.26.0" "4.27.0" - "5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0" + "5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0" "5.6.0" ) function usage() { diff --git a/tools/replace_engine_version.sh b/tools/replace_engine_version.sh index 928a153..a8d53c4 100644 --- a/tools/replace_engine_version.sh +++ b/tools/replace_engine_version.sh @@ -6,7 +6,7 @@ set -eEu SUPPORTED_VERSIONS=( "4.26.0" "4.27.0" - "5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0" + "5.0.0" "5.1.0" "5.2.0" "5.3.0" "5.4.0" "5.5.0" "5.6.0" ) function usage() { @@ -33,6 +33,6 @@ if [ ${supported} -eq 0 ]; then fi for file in `find ${source_dir} -name "*.uplugin"`; do - sed -i -e "s/\"EngineVersion\": \"5.5.0\",/\"EngineVersion\": \"${engine_version}\",/g" ${file} + sed -i -e "s/\"EngineVersion\": \"5.6.0\",/\"EngineVersion\": \"${engine_version}\",/g" ${file} echo "Replaced engine version in ${file}" done