Caaz / rimworld-creepers

Aw, man
MIT License
0 stars 1 forks source link

Remove metadata reading in the github actions #7

Open Caaz opened 2 years ago

Caaz commented 2 years ago

This step of the workflow reads a variable, to be used by the upload action. https://github.com/Caaz/rimworld-creepers/blob/main/.github/workflows/Build.yml#L17-L21

We should remove that step, and modify the following line https://github.com/Caaz/rimworld-creepers/blob/main/.github/workflows/Build.yml#L27 By uploading the action simply as "Creepers"

m-bartlett commented 2 years ago

Would something like

env:
  mod_name: Creepers

# ...

    - uses: actions/upload-artifact@v2
      with:
        name: ${{ env.mod_name }}

be preferable?

Caaz commented 2 years ago

That's probably smarter than hardcoding it actually, sure.