Skip to content

Check Nexus credentials #264

Check Nexus credentials

Check Nexus credentials #264

Workflow file for this run

name: "Check Nexus credentials"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
deploy:
if: github.repository_owner == 'alandtse'
runs-on: ubuntu-latest
steps:
- name: Setup Dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x.x
include-prerelease: false
- name: Download NexusUploader
run: dotnet tool install -g BUTR.NexusUploader
- name: Check Nexus Cookies
# https://github.com/agc93/nexus-uploader using fork https://github.com/BUTR/BUTR.NexusUploader
env:
UNEX_COOKIES: ${{ secrets.UNEX_COOKIES }}
UNEX_APIKEY: ${{ secrets.UNEX_APIKEY }}
run: |
unex check --cookie
- name: Check Nexus API Key
# https://github.com/agc93/nexus-uploader
# https://www.nexusmods.com/users/myaccount?tab=api%20access
env:
UNEX_COOKIES: ${{ secrets.UNEX_COOKIES }}
UNEX_APIKEY: ${{ secrets.UNEX_APIKEY }}
run: |
unex check --key $UNEX_APIKEY