From e002c65f0201f911b834ba70e45fb5e2c464e2e6 Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 29 Sep 2022 21:45:34 +1000 Subject: [PATCH] Replace otapi3 workflows with legacy variants No need for otapi3 branch workflows here --- .../{ci-otapi3.yml => ci-otapi3-legacy.yml} | 2 +- .github/workflows/ci-otapi3-nuget.yml | 30 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) rename .github/workflows/{ci-otapi3.yml => ci-otapi3-legacy.yml} (98%) delete mode 100644 .github/workflows/ci-otapi3-nuget.yml diff --git a/.github/workflows/ci-otapi3.yml b/.github/workflows/ci-otapi3-legacy.yml similarity index 98% rename from .github/workflows/ci-otapi3.yml rename to .github/workflows/ci-otapi3-legacy.yml index 72414ef5..451d6dd1 100644 --- a/.github/workflows/ci-otapi3.yml +++ b/.github/workflows/ci-otapi3-legacy.yml @@ -1,4 +1,4 @@ -name: CI(OTAPI3) +name: CI(OTAPI3) Legacy on: [push] diff --git a/.github/workflows/ci-otapi3-nuget.yml b/.github/workflows/ci-otapi3-nuget.yml deleted file mode 100644 index 3cdcd116..00000000 --- a/.github/workflows/ci-otapi3-nuget.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deploy NuGet(OTAPI3) - -on: - push: - branches: [ nuget-release ] - pull_request: - branches: [ nuget-release ] - -jobs: - build: - - runs-on: ubuntu-latest - environment: release - - steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.400 - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build TShock.sln --configuration Release --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal --configuration Release - - # Publish - - name: Push TShockAPI - run: dotnet nuget push TShockAPI/bin/Release/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json