2121 unreal_engine_version :
2222 [
2323 " 4.27.0" ,
24- " 5.0.0" , "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.5.0"
24+ " 5.0.0" , "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.5.0", "5.6.0"
2525 ]
2626 version :
2727 ["free", "full"]
@@ -48,11 +48,44 @@ jobs:
4848 mv BlueprintToRSTDoc_UE${{ matrix.unreal_engine_version }}_${{ matrix.version }}.zip release-plugin-${{ matrix.version }}
4949
5050 - name : Upload artifact
51- uses : actions/upload-artifact@v3
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : BlueprintToRSTDoc_${{ matrix.unreal_engine_version }}_${{ matrix.version }}
54+ path : " release-plugin-${{ matrix.version }}"
55+
56+ merge-plugin-pack :
57+ name : Merge packed plugins
58+ runs-on : ubuntu-latest
59+ needs : [plugin-pack]
60+ strategy :
61+ fail-fast : false
62+ matrix :
63+ version :
64+ ["free", "full"]
65+ steps :
66+ - name : Download artifacts
67+ uses : actions/download-artifact@v4
68+ with :
69+ pattern : BlueprintToRSTDoc_*_${{ matrix.version }}
70+ merge-multiple : true
71+ path : dist
72+
73+ - name : Move artifacts
74+ run : |
75+ mkdir release-plugin-${{ matrix.version }}
76+ mv dist/BlueprintToRSTDoc_*_${{ matrix.version }}.zip release-plugin-${{ matrix.version }}
77+
78+ - name : Updload artifacts
79+ uses : actions/upload-artifact@v4
5280 with :
5381 name : BlueprintToRSTDoc_${{ matrix.version }}
5482 path : " release-plugin-${{ matrix.version }}"
5583
84+ - name : Delete unused artifacts
85+ uses : geekyeggo/delete-artifact@v5
86+ with :
87+ name : BlueprintToRSTDoc_*_${{ matrix.version }}
88+
5689 sample-pack :
5790 name : Pack sample sources
5891 runs-on : ubuntu-latest
@@ -67,21 +100,21 @@ jobs:
67100 mv samples/SampleProject.zip release-sample
68101
69102 - name : Upload artifact
70- uses : actions/upload-artifact@v3
103+ uses : actions/upload-artifact@v4
71104 with :
72105 name : SampleProject
73106 path : " release-sample"
74107
75108 publish :
76109 name : Publish
77- needs : [plugin-pack, sample-pack]
110+ needs : [merge- plugin-pack, sample-pack]
78111 if : startsWith(github.ref, 'refs/tags/v')
79112 runs-on : ubuntu-latest
80113 steps :
81114 - name : Checkout repo
82115 uses : actions/checkout@v2
83116 - name : Fetch Artifacts
84- uses : actions/download-artifact@v3
117+ uses : actions/download-artifact@v4
85118 with :
86119 path : dist
87120 - name : Install hub command
0 commit comments