mirror of https://github.com/BUTR/workflows.git
Compare commits
6 Commits
964aea0602
...
ed21cff1b1
Author | SHA1 | Date |
---|---|---|
|
ed21cff1b1 | 2 years ago |
|
6a163f64da | 2 years ago |
|
2b705af7f5 | 2 years ago |
|
a711ec927c | 2 years ago |
|
0733d1f579 | 2 years ago |
|
51a7a1b5dd | 2 years ago |
@ -0,0 +1,34 @@
|
|||||||
|
name: Verify Credentials for NexusMods
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
NEXUSMODS_API_KEY:
|
||||||
|
required: true
|
||||||
|
NEXUSMODS_COOKIE_NEXUSID:
|
||||||
|
required: true
|
||||||
|
NEXUSMODS_COOKIE_SID_DEVELOP:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verify-credentials-nexusmods:
|
||||||
|
name: Verify Credentials for NexusMods
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Setup .NET 6
|
||||||
|
uses: actions/setup-dotnet@master
|
||||||
|
with:
|
||||||
|
dotnet-version: 6.x.x
|
||||||
|
|
||||||
|
- name: Install Digitalroot.ModUploader
|
||||||
|
run: dotnet tool install -g Digitalroot.ModUploader
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Check Digitalroot.ModUploader credentials
|
||||||
|
run: drmu nexusmods check;
|
||||||
|
env:
|
||||||
|
NEXUSMOD_API_KEY: ${{ secrets.NEXUSMODS_API_KEY }}
|
||||||
|
NEXUSMOD_COOKIE_NEXUSID: ${{ secrets.NEXUSMOD_COOKIE_NEXUSID }}
|
||||||
|
NEXUSMOD_COOKIE_SID_DEVELOP: ${{ secrets.NEXUSMOD_COOKIE_SID_DEVELOP }}
|
||||||
|
shell: pwsh
|
@ -0,0 +1,31 @@
|
|||||||
|
name: Verify UNEX Credentials for NexusMods
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
NEXUSMODS_API_KEY:
|
||||||
|
required: true
|
||||||
|
NEXUSMODS_COOKIES:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verify-unex-credentials-nexusmods:
|
||||||
|
name: Verify Credentials for NexusMods
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Setup .NET 6
|
||||||
|
uses: actions/setup-dotnet@master
|
||||||
|
with:
|
||||||
|
dotnet-version: 6.x.x
|
||||||
|
|
||||||
|
- name: Install BUTR.NexusUploader
|
||||||
|
run: dotnet tool install -g BUTR.NexusUploader
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Check NexusUploader credentials
|
||||||
|
run: unex check
|
||||||
|
env:
|
||||||
|
UNEX_APIKEY: ${{ secrets.NEXUSMODS_API_KEY }}
|
||||||
|
UNEX_COOKIES: ${{ secrets.NEXUSMODS_COOKIES }}
|
||||||
|
shell: pwsh
|
Loading…
Reference in New Issue