From 84e76dfe5a00ba0bbda429d0f64dc5daf37e2dd6 Mon Sep 17 00:00:00 2001 From: Alexey Chernyshov <65975574+artifixer@users.noreply.github.com> Date: Wed, 4 Aug 2021 13:48:27 +0300 Subject: [PATCH] Removed file checking Because it does not support glob characters (*). https://github.com/andstor/file-existence-action/issues/4 --- .github/workflows/Generate References.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/Generate References.yml b/.github/workflows/Generate References.yml index 0b43add..b7b7ab3 100644 --- a/.github/workflows/Generate References.yml +++ b/.github/workflows/Generate References.yml @@ -49,19 +49,11 @@ jobs: - name: Run Bannerlord.ReferenceAssemblies run: dotnet run --project src/Bannerlord.ReferenceAssemblies/Bannerlord.ReferenceAssemblies.csproj --configuration Debug --steamLogin ${{secrets.STEAM_LOGIN}} --steamPassword ${{secrets.STEAM_PASSWORD}} --steamAppId 261550 --steamOS windows --steamOSArch 64 --steamDepotId 261551 --packageBaseName Bannerlord.ReferenceAssemblies --feedUrl https://nuget.pkg.github.com/BUTR/index.json --feedUser Aragas --feedPassword ${{secrets.GITHUB_TOKEN}} - - name: Check file existence - id: check_files - uses: andstor/file-existence-action@v1 - with: - files: "./src/Bannerlord.ReferenceAssemblies/bin/Debug/net5.0/final/*.nupkg" - - name: Push to NuGet - if: steps.check_files.outputs.files_exists == 'true' run: dotnet nuget push "./src/Bannerlord.ReferenceAssemblies/bin/Debug/net5.0/final/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org shell: pwsh - name: Push to GPR - if: steps.check_files.outputs.files_exists == 'true' run: | for f in ./src/Bannerlord.ReferenceAssemblies/bin/Debug/net5.0/final/*.nupkg do