From f81158cad9f8a645b1585569179ec9fd336c11cf Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Wed, 20 Jan 2021 16:14:54 +0530 Subject: [PATCH] Fix CI artifact upload --- .github/workflows/nodejs.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 41f63a02..e30f0eca 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -152,17 +152,10 @@ jobs: - name: Get Windows Artifact Names id: getwindowsfilename run: | - Write-Host "::set-output name=exeName::$(Get-ChildItem -Name .\dist\squirrel-windows\ | Select-String exe)" - Write-Host "::set-output name=exePath::dist/squirrel-windows/$(Get-ChildItem -Name .\dist\squirrel-windows\ | Select-String exe)" - Write-Host "::set-output name=nupkgName::$(Get-ChildItem -Name .\dist\squirrel-windows\ | Select-String nupkg)" - Write-Host "::set-output name=nupkgPath::dist/squirrel-windows/$(Get-ChildItem -Name .\dist\squirrel-windows\ | Select-String nupkg)" + Write-Host "::set-output name=exeName::$(Get-ChildItem -Name .\dist\ | Select-String exe$)" + Write-Host "::set-output name=exePath::dist/$(Get-ChildItem -Name .\dist\ | Select-String exe$)" - name: Archive Windows Build Artifacts (exe) uses: actions/upload-artifact@v2 with: name: ${{ steps.getwindowsfilename.outputs.exeName }} path: ${{ steps.getwindowsfilename.outputs.exePath }} - - name: Archive Windows Build Artifacts (nupkg) - uses: actions/upload-artifact@v2 - with: - name: ${{ steps.getwindowsfilename.outputs.nupkgName }} - path: ${{ steps.getwindowsfilename.outputs.nupkgPath }}