From a398f2953a0c448bb2b08d4752ae6427166e1e58 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 4 Jun 2024 21:46:40 +0200 Subject: [PATCH] feat(feez/nuget): support thread-timestamp --- .github/workflows/prerelease.yml | 13 +------------ .github/workflows/release.yml | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c9c20f3..29fad71 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -33,20 +33,9 @@ jobs: with: subject-path: "${{ github.workspace }}/${{ env.RELEASE_PACKAGES }}" - - name: Prepare feedz.io - uses: hashicorp/vault-action@v3.0.0 - with: - url: ${{ secrets.VAULT_ADDR }} - method: approle - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - secrets: | - secret/apm-team/ci/elastic-observability-feedz.io apiKey | REPO_API_KEY ; - secret/apm-team/ci/elastic-observability-feedz.io url | REPO_API_URL - # Push to feedz.io - name: publish canary packages to feedz.io - run: dotnet nuget push '${{ env.RELEASE_PACKAGES }}' -k ${REPO_API_KEY} -s ${REPO_API_URL} --skip-duplicate --no-symbols + run: dotnet nuget push '${{ env.RELEASE_PACKAGES }}' -k ${{ secrets.FEEDZ_IO_API_KEY }} -s ${{ secrets.FEEDZ_IO_API_URL }} --skip-duplicate --no-symbols # Push to GHPR for advertising purposes on the github landing page. # Sadly this still requires authentication to use as a nuget package repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13076aa..21e8243 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,20 +39,9 @@ jobs: with: subject-path: "${{ github.workspace }}/${{ env.RELEASE_PACKAGES }}" - - name: Prepare Nuget - uses: hashicorp/vault-action@v3.0.0 - with: - url: ${{ secrets.VAULT_ADDR }} - method: approle - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - secrets: | - secret/apm-team/ci/elastic-observability-nuget apiKey | REPO_API_KEY ; - secret/apm-team/ci/elastic-observability-nuget url | REPO_API_URL - - name: Release to Nuget (only for release events) if: ${{ github.event_name == 'release' }} - run: dotnet nuget push '${{ env.RELEASE_PACKAGES }}' -k ${{secrets.NUGET_REPO_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols + run: dotnet nuget push '${{ env.RELEASE_PACKAGES }}' -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols - if: ${{ success() && github.event_name == 'release' }} uses: elastic/oblt-actions/slack/send@v1.5.0