From 8da2597af0fe07621a50394822bc6bf555e36d73 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Tue, 3 May 2022 02:05:18 +0300 Subject: [PATCH] Update build actions --- .github/workflows/ci.yml | 1 + .github/workflows/release-preview.yml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b91b3be..be03a72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: branches: - master env: + DOTNET_NOLOGO: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: diff --git a/.github/workflows/release-preview.yml b/.github/workflows/release-preview.yml index 7872b34..f1a9164 100644 --- a/.github/workflows/release-preview.yml +++ b/.github/workflows/release-preview.yml @@ -3,12 +3,13 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+-preview[0-9]+" env: + DOTNET_NOLOGO: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: build: runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v2 @@ -42,7 +43,8 @@ jobs: run: | dotnet nuget push ./nupkg/FB2Library.*.nupkg \ --source ${FEED_URL} \ - --api-key ${FEED_KEY} + --api-key ${FEED_KEY} \ + --skip-duplicate env: FEED_URL: https://nuget.pkg.github.com/wcoder/index.json \ FEED_KEY: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file