From 856178d920e5dff018ed6c484214aa78bece3a3d Mon Sep 17 00:00:00 2001 From: Trevor Payne Date: Wed, 20 Jul 2022 17:53:48 -0500 Subject: [PATCH] fix: Workflow Syntax --- .github/workflows/essentialsplugins-betabuilds.yml | 6 +++--- .github/workflows/essentialsplugins-releasebuilds.yml | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/essentialsplugins-betabuilds.yml b/.github/workflows/essentialsplugins-betabuilds.yml index 4a52ae5..3dd9b81 100644 --- a/.github/workflows/essentialsplugins-betabuilds.yml +++ b/.github/workflows/essentialsplugins-betabuilds.yml @@ -228,9 +228,9 @@ jobs: - name: Get nuget File shell: powershell run: | - $nuspec = Get-ChildItem *.nuspec -recurse - $NUSPECNAME = $nuspec.BaseName - echo "NUSPEC_FILE=$($NUSPECNAME)"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + $nuspec_file = Get-ChildItem *.nuspec -recurse + env.NUSPECNAME = $($nuspec_file.BaseName) + echo "NUSPEC_FILE=$($nuspec_file.BaseName)"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Download Build Version Info if: ${{env.NUSPECNAME != 'PDT.EssentialsPluginTemplate'}} diff --git a/.github/workflows/essentialsplugins-releasebuilds.yml b/.github/workflows/essentialsplugins-releasebuilds.yml index 45ee9db..3cf0c26 100644 --- a/.github/workflows/essentialsplugins-releasebuilds.yml +++ b/.github/workflows/essentialsplugins-releasebuilds.yml @@ -176,10 +176,9 @@ jobs: - name: Get nuget File shell: powershell run: | - $nuspec = Get-ChildItem *.nuspec -recurse - $NUSPECNAME = $nuspec.BaseName - echo "NUSPEC_FILE=$($NUSPECNAME)"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - + $nuspec_file = Get-ChildItem *.nuspec -recurse + env.NUSPECNAME = $($nuspec_file.BaseName) + echo "NUSPEC_FILE=$($nuspec_file.BaseName)"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Download Build Version Info if: ${{env.NUSPECNAME != 'PDT.EssentialsPluginTemplate'}} uses: actions/download-artifact@v1