1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 23:29:41 +02:00

Make log uploads conditional

Since vcpkg no longer always generates buildtree logs ignore them missing

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
Emily Mabrey 2021-08-21 12:10:18 -04:00
parent 03d8c31316
commit e36e9095bd
No known key found for this signature in database
GPG Key ID: 6F4EF47256A1B7DC

View File

@ -99,7 +99,7 @@ jobs:
nuget-version: 5.10.0
- name: Authenticate CI to Artifactory
if: github.event_name == 'push' && github.repository_owner == 'tenacityteam'
if: github.event_name == 'push' && github.repository_owner == 'tenacityteam'
run: |
nuget sources Add -Name Artifactory -Source https://tenacityteam.jfrog.io/artifactory/api/nuget/tenacity-nuget -username ${JFROG_ARTIFACTORY_NUGET_USER} -password ${JFROG_ARTIFACTORY_NUGET_PASS} -ForceEnglishOutput -NonInteractive
nuget setapikey ${JFROG_ARTIFACTORY_NUGET_USER}:${JFROG_ARTIFACTORY_NUGET_TOKEN} -Source Artifactory -ForceEnglishOutput -NonInteractive
@ -236,8 +236,9 @@ jobs:
if-no-files-found: error
- name: Upload artifact of vcpkg build logs
if: always()
uses: actions/upload-artifact@v2
if: always()
with:
name: vcpkg-logs-${{ runner.os }}
path: ${{ github.workspace }}/vcpkg/buildtrees/**/*.log
if-no-files-found: ignore