Skip to content

Commit

Permalink
Removed file checking
Browse files Browse the repository at this point in the history
Because it does not support glob characters (*).
andstor/file-existence-action#4
  • Loading branch information
artifixer authored Aug 4, 2021
1 parent bd8b6ce commit 84e76df
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/Generate References.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84e76df

Please sign in to comment.