From f29eba1ed57efb1d796231e0939c2f809cadb864 Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Sun, 2 Oct 2022 02:04:49 -0700 Subject: [PATCH] ci: add unex-check --- .github/workflows/unex-check.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/unex-check.yml diff --git a/.github/workflows/unex-check.yml b/.github/workflows/unex-check.yml new file mode 100644 index 0000000..b3cf9bc --- /dev/null +++ b/.github/workflows/unex-check.yml @@ -0,0 +1,26 @@ +name: "Check unex credentials" +on: + schedule: + - cron: '0 0 * * *' + +jobs: + deploy: + if: github.repository == 'alandtse/vr_address_tools' + runs-on: ubuntu-latest + + steps: + - name: Setup Dotnet + uses: actions/setup-dotnet@v2 + with: + dotnet-version: '3.1.x' + include-prerelease: false + - name: Download NexusUploader + run: dotnet tool install -g NexusUploader + - name: Check UNEX + # https://github.com/agc93/nexus-uploader + env: + UNEX_COOKIES: ${{ secrets.UNEX_COOKIES }} + UNEX_APIKEY: ${{ secrets.UNEX_APIKEY }} + run: | + unex check --coookie + unex check --key \ No newline at end of file