File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 env :
2626 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
2727 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
28+ - name : Upload Build Artifacts
29+ uses : actions/upload-artifact@v4
30+ with :
31+ name : build-artifacts
32+ path : |
33+ ${{ github.workspace }}/neoforge/build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar
34+ ${{ github.workspace }}/neoforge/build/libs/*-@(dev|sources|javadoc|dev-shadow).jar
35+ ${{ github.workspace }}/fabric/build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar
36+ ${{ github.workspace }}/fabric/build/libs/*-@(dev|sources|javadoc|dev-shadow).jar
2837 publish :
2938 needs : build
3039 runs-on : ubuntu-22.04
3645 - platform : neoforge
3746 name : NeoForge
3847 steps :
48+ - name : Download Build Artifacts
49+ uses : actions/download-artifact@v3
50+ with :
51+ name : build-artifacts
3952 - name : Publish ${{ matrix.name }} to Modrinth, CurseForge & GitHub
4053 uses : Kir-Antipov/mc-publish@v3.3.0
4154 with :
6073 iris(optional)
6174
6275 files : |
63- ${{matrix.platform}}/build/libs/*.jar
76+ ${{ github.workspace }}/${{ matrix.platform }}/build/libs/!(*-@(dev|sources|javadoc|dev-shadow)).jar
77+ ${{ github.workspace }}/${{ matrix.platform }}/build/libs/*-@(dev|sources|javadoc|dev-shadow).jar
You can’t perform that action at this time.
0 commit comments