11env :
2- PACKAGE_NAME : MelonLoader
32 PACKAGE_DESC : The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
43 PACKAGE_REPO : https://github.com/${{ github.repository }}
54
98 VERSION :
109 required : true
1110 type : string
11+ PACKAGE_NAME :
12+ required : true
13+ type : string
1214
1315jobs :
1416 compile_thunderstore :
1820 - uses : actions/checkout@v6
1921
2022 - name : Download Windows x64 Artifact
21- uses : actions/download-artifact@v7
23+ uses : actions/download-artifact@v8
2224 with :
2325 name : MelonLoader.Windows.x64.CI.Release
2426 path : ./compiled_release/thunderstore
@@ -32,21 +34,16 @@ jobs:
3234 run : |
3335 cat <<EOF > compiled_release/thunderstore/manifest.json
3436 {
35- "name": "${{ env .PACKAGE_NAME }}",
37+ "name": "${{ inputs .PACKAGE_NAME }}",
3638 "version_number": "${{ inputs.VERSION }}",
3739 "website_url": "${{ env.PACKAGE_REPO }}",
3840 "description": "${{ env.PACKAGE_DESC }}",
3941 "dependencies": []
4042 }
4143 EOF
4244
43- - name : Package Zip Archive
44- run : |
45- cd compiled_release/thunderstore
46- zip -r ../${{ github.repository_owner }}-${{ env.PACKAGE_NAME }}-${{ inputs.VERSION }}.zip ./
47-
4845 - name : Upload Thunderstore Artifact
49- uses : actions/upload-artifact@v6
46+ uses : actions/upload-artifact@v7
5047 with :
5148 name : MelonLoader.Thunderstore
52- path : compiled_release/${{ github.repository_owner }}-${{ env.PACKAGE_NAME }}-${{ inputs.VERSION }}.zip
49+ path : compiled_release/thunderstore
0 commit comments