Skip to content

Commit

Permalink
chore: add nexusmod upload to release workflow
Browse files Browse the repository at this point in the history
At least until I figure out why the post-release workflow is not
triggering in Forgejo.
  • Loading branch information
alterNERDtive committed Feb 22, 2024
1 parent c5609a1 commit 68df1d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .forgejo/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
bg3-mod-profiles-for-linux.zip
draft: true
api_key: "${{ secrets.RELEASE_TOKEN }}"

- name: Publish to Nexusmods
uses: hmlendea/nexusmods-update@latest
with:
account_email_address: ${{secrets.NEXUS_UPLOADER_EMAIL_ADDRESS}}
account_password: ${{secrets.NEXUS_UPLOADER_PASSWORD}}
nexus_game_id: "baldursgate3"
nexus_mod_id: "3458"
mod_file_name: "bg3-mod-profiles"
mod_version: ${{github.ref_name}}
file_description: "Changelog: https://git.alternerd.tv/alterNERDtive/bg3-mod-profiles/releases/${{github.ref_name}}"
file_path: "bg3-mod-profiles-for-linux.zip"
4 changes: 2 additions & 2 deletions .forgejo/workflows/publish-to-nexusmods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: gh release download ${{ github.ref_name }}

- name: Publish to Nexusmods
uses: hmlendea/nexusmods-update@latest
with:
Expand All @@ -30,4 +30,4 @@ jobs:
mod_file_name: "bg3-mod-profiles"
mod_version: ${{github.ref_name}}
file_description: "Changelog: https://git.alternerd.tv/alterNERDtive/bg3-mod-profiles/releases/${{github.ref_name}}"
file_path: "bg3-mod-profiles.zip"
file_path: "bg3-mod-profiles-for-linux.zip"

0 comments on commit 68df1d8

Please sign in to comment.