From 8bd36cf83b39d61d3b5a2a51d160b16eedff6b63 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Wed, 5 Aug 2020 19:30:36 -0700 Subject: [PATCH] Attempt to configure NUGET_AUTH_TOKEN for all jobs --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70e1e380b1..a89d3d86a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,12 @@ jobs: os: [ windows ] steps: - uses: actions/checkout@v2 + - uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.x' + source-url: https://pkgs.terrafx.dev/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./scripts/cibuild.cmd -configuration ${{ matrix.configuration }} -architecture ${{ matrix.architecture }} shell: cmd - uses: actions/upload-artifact@v2 @@ -36,6 +42,12 @@ jobs: os: [ macos, ubuntu ] steps: - uses: actions/checkout@v2 + - uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.x' + source-url: https://pkgs.terrafx.dev/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }} shell: bash - uses: actions/upload-artifact@v2