Skip to content

Commit

Permalink
Fix publish actions (#11)
Browse files Browse the repository at this point in the history
Fix publish actions
  • Loading branch information
acodili-jg authored Jul 28, 2023
2 parents c85f9e3 + 04ff1a1 commit 1356c78
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ inputs:
changelog:
description: Changelog
required: false
default: ''
modrinth_token:
description: Modrinth Token
required: false
default: ''

runs:
using: composite
Expand All @@ -24,6 +29,6 @@ runs:
shell: bash
env:
MODRINTH_CHANGELOG: ${{ inputs.changelog }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
MODRINTH_TOKEN: ${{ inputs.modrinth_token }}
MODRINTH_VERSION_MODIFIER: ${{ inputs.version_modifier }}
MODRINTH_VERSION_TYPE: ${{ inputs.version_type }}
1 change: 1 addition & 0 deletions .github/workflows/manual-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
uses: ./.github/actions/publish
with:
changelog: ${{ inputs.changelog }}
modrinth_token: ${{ secrets.MODRINTH_TOKEN }}
version_modifier: ${{ inputs.version_modifier }}
version_type: ${{ inputs.version_type }}
1 change: 1 addition & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
uses: ./.github/actions/publish
with:
changelog: Nightly build of `${{ env.GITHUB_REF }}`. View at https://github.com/acodili-jg/still-clouds/tree/${{ env.GITHUB_SHA }}
modrinth_token: ${{ secrets.MODRINTH_TOKEN }}
version_modifier: -nightly${{ env.GITHUB_SHA }}
version_type: alpha

0 comments on commit 1356c78

Please sign in to comment.