Git Product home page Git Product logo

Comments (13)

itsmeow avatar itsmeow commented on September 24, 2024

Separate them with commas

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

Can you help me with an example, for example, my mod supports Minecraft 1.18.* 1.19.* How would this be written?

from curseforge-upload.

itsmeow avatar itsmeow commented on September 24, 2024

You'd have to put all of them separately, there is no wildcards.

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

I know there are no wildcards, so let me make it simpler
1.18 , 1.18.1 , 1.19 , 1.19.1 , 1.19,2 , 1.19.3
So how do you write this?

from curseforge-upload.

itsmeow avatar itsmeow commented on September 24, 2024

You just write it like that without the spaces

1.18,1.18.1,1.19.1 etc. no specific order is required or anything

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

fabric or forge?

from curseforge-upload.

itsmeow avatar itsmeow commented on September 24, 2024

You can just write ,Fabric,Forge

As long as the number matches the text on the website

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

oh okay

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

If I want to upload both forge and fabric mod files, should I make both steps directly or?
example
CustomSkinLoader_ForgeActive.jar
CustomSkinLoader_Fabric.jar

from curseforge-upload.

itsmeow avatar itsmeow commented on September 24, 2024

You should add another workflow step

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024
      -
        name: Publish Fabric to CurseForge 
        if: false
        uses: itsmeow/curseforge-upload@v3
        with:
          file_path: "build/libs/${{ steps.findjar.outputs.name_fabric_jar }}"
          game_endpoint: "minecraft"
          game_versions: "$(grep "minecraft_full_versions=" Fabric/build.properties | grep -v "#" | sed "s/$1=//g"),Fabric"
          project_id: "0"
          token: ${{ secrets.CURSEFORGE_API_KEY }}
      -
        name: Publish Forge Active to CurseForge 
        if: false
        uses: itsmeow/curseforge-upload@v3
        with:
          file_path: "build/libs/${{ steps.findjar.outputs.name_forge_active_jar }}"
          game_endpoint: "minecraft"
          game_versions: "$(grep "minecraft_full_versions=" Forge/Active/build.properties | grep -v "#" | sed "s/$1=//g"),Forge"
          project_id: "0"
          token: ${{ secrets.CURSEFORGE_API_KEY }}

Can it be changed to

      -
        name: Publish to CurseForge 
        if: false
        uses: itsmeow/curseforge-upload@v3
        with:
          -
            file_path: "build/libs/${{ steps.findjar.outputs.name_fabric_jar }}"
            game_endpoint: "minecraft"
            game_versions: "$(grep "minecraft_full_versions=" Fabric/build.properties | grep -v "#" | sed "s/$1=//g"),Fabric"
            project_id: "0"
            token: ${{ secrets.CURSEFORGE_API_KEY }}
         -
            file_path: "build/libs/${{ steps.findjar.outputs.name_forge_active_jar }}"
            game_endpoint: "minecraft"
            game_versions: "$(grep "minecraft_full_versions=" Forge/Active/build.properties | grep -v "#" | sed "s/$1=//g"),Forge"
            project_id: "0"
            token: ${{ secrets.CURSEFORGE_API_KEY }}  

from curseforge-upload.

itsmeow avatar itsmeow commented on September 24, 2024

No you have to add another step entirely separate

from curseforge-upload.

8MiYile avatar 8MiYile commented on September 24, 2024

Okay

from curseforge-upload.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.