From 5a7e2b10441e7f4093c7513a3f92f620c76f1402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Hansen?= Date: Fri, 12 Jul 2024 04:38:33 +0200 Subject: [PATCH] fix: remove release-created workflow instead as that was the redundant one --- .github/workflows/release-created.yml | 41 --------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/release-created.yml diff --git a/.github/workflows/release-created.yml b/.github/workflows/release-created.yml deleted file mode 100644 index d70a681..0000000 --- a/.github/workflows/release-created.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: On release created - -on: - release: - types: [ created ] - -jobs: - build_prelease_nuget_package: - name: Build and push prerelease NuGet package - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --configuration Release --no-build --verbosity minimal - - - name: Pack Fenris.OneOfContrib.Blazor - run: | - VERSION=${{ github.event.release.tag_name }} - VERSION=${VERSION#v} - dotnet pack src/Fenris.OneOfContrib.Blazor/ -c Release -o ./artifacts --include-source --verbosity minimal -p:PackageVersion=$VERSION-rc.${{ github.run_number }} - - - name: Push implementation package - run: | - dotnet nuget push ./artifacts/*.nupkg \ - --source "https://api.nuget.org/v3/index.json" \ - --api-key ${{ secrets.NUGET_TOKEN }} - - name: Push symbols package - run: | - dotnet nuget push ./artifacts/*.snupkg \ - --source "https://www.nuget.org/api/v2/symbolpackage" \ - --api-key ${{ secrets.NUGET_TOKEN }} \ No newline at end of file