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:
parent
03d8c31316
commit
e36e9095bd
5
.github/workflows/cmake_build.yml
vendored
5
.github/workflows/cmake_build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user