diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a5a51b0..1618d45 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -8,6 +8,9 @@ jobs: matrix: operating-system: [ubuntu-latest, windows-latest] actions: + - name: Checkout + uses: actions/checkout@master + - name: Set Node.js 10.x uses: actions/setup-node@master with: diff --git a/README.md b/README.md index 9834664..ab24e85 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ See [action.yml](action.yml) Basic: ```yaml actions: -- uses: actions/setup-dotnet@latest +- uses: actions/checkout@master +- uses: actions/setup-dotnet@master with: version: 2.2.103 // Version to use. - run: dotnet build @@ -27,8 +28,9 @@ jobs: dotnet: [ 2.2.103, 3.5.2, 4.5.1 ] name: Dotnet ${{ matrix.dotnet }} sample actions: + - uses: actions/checkout@master - name: Setup dotnet - uses: actions/setup-dotnet@latest + uses: actions/setup-dotnet@master with: version: ${{ matrix.dotnet }} - run: dotnet build diff --git a/lib/installer.js b/lib/installer.js index 7fc9020..5cf9a83 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -251,8 +251,8 @@ class DotnetCoreInstaller { } } }); - primaryUrlSearchString = 'dotnet-install: Primary - '; - legacyUrlSearchString = 'dotnet-install: Legacy - '; + primaryUrlSearchString = 'dotnet-install: Primary named payload URL: '; + legacyUrlSearchString = 'dotnet-install: Legacy named payload URL: '; } else { let escapedScript = path @@ -267,8 +267,8 @@ class DotnetCoreInstaller { } } }); - primaryUrlSearchString = 'dotnet-install: Payload URL: '; - legacyUrlSearchString = 'dotnet-install: Legacy payload URL: '; + primaryUrlSearchString = 'dotnet-install: Primary named payload URL: '; + legacyUrlSearchString = 'dotnet-install: Legacy named payload URL: '; } if (resultCode != 0) { throw `Failed to get download urls with result code ${resultCode}. ${output}`; diff --git a/src/installer.ts b/src/installer.ts index b282d60..7016be9 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -276,8 +276,8 @@ export class DotnetCoreInstaller { } ); - primaryUrlSearchString = 'dotnet-install: Primary - '; - legacyUrlSearchString = 'dotnet-install: Legacy - '; + primaryUrlSearchString = 'dotnet-install: Primary named payload URL: '; + legacyUrlSearchString = 'dotnet-install: Legacy named payload URL: '; } else { let escapedScript = path .join(__dirname, '..', 'externals', 'install-dotnet.sh') @@ -297,8 +297,8 @@ export class DotnetCoreInstaller { } ); - primaryUrlSearchString = 'dotnet-install: Payload URL: '; - legacyUrlSearchString = 'dotnet-install: Legacy payload URL: '; + primaryUrlSearchString = 'dotnet-install: Primary named payload URL: '; + legacyUrlSearchString = 'dotnet-install: Legacy named payload URL: '; } if (resultCode != 0) {