From 533187eb4f09a8020a3a97784f63591b4a8916df Mon Sep 17 00:00:00 2001 From: Paul Brown Date: Mon, 26 Oct 2020 16:02:34 +0000 Subject: [PATCH] Corrected syntax to use github context to access actor name --- .github/workflows/ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 42149fb..e0f594d 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -83,7 +83,7 @@ jobs: echo ::set-env name=VERSION_NUMBER_SEM2::$(cat ./version-number.txt)${{ env.VERSION_NUMBER_SUFFIX_SEM2 }} - name: Update the nuget config with the credentials for the GitHub Package Repository - run: dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} --username ${{ env.GITHUB_ACTOR }} --password ${{ secrets.GITHUB_TOKEN }} + run: dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} - name: Update the Chocolatey dependencies for scheduled builds if: github.event_name == 'schedule'