From fe56aa19f505be547ef60821a51726bdc08b1c4d Mon Sep 17 00:00:00 2001 From: Mayuki Sawatari Date: Wed, 25 Oct 2023 12:12:03 +0900 Subject: [PATCH] Update workflows --- .github/workflows/build-canary.yml | 19 +------------------ .github/workflows/build-debug.yml | 9 --------- .github/workflows/build-release.yml | 19 +------------------ 3 files changed, 2 insertions(+), 45 deletions(-) diff --git a/.github/workflows/build-canary.yml b/.github/workflows/build-canary.yml index 5700f882e..b7d39d4d8 100644 --- a/.github/workflows/build-canary.yml +++ b/.github/workflows/build-canary.yml @@ -30,25 +30,8 @@ jobs: name: nuget path: ./publish/ - canary-build-experimental: - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/setup-dotnet - - run: echo "MAGICONION_VERSION=ci-$(date '+%Y%m%d-%H%M%S')+${GITHUB_SHA:0:6}" >> $GITHUB_ENV - - run: echo "MAGICONION_VERSION=${MAGICONION_VERSION}" - # build - - run: dotnet build ./src/MagicOnion.Server.OpenTelemetry/ -c ${{ env.BUILD_CONFIG }} -p:VersionSuffix=${MAGICONION_VERSION} - # test - - run: dotnet pack ./src/MagicOnion.Server.OpenTelemetry/MagicOnion.Server.OpenTelemetry.csproj -c ${{ env.BUILD_CONFIG }} --include-symbols --include-source --no-build -p:VersionSuffix=${MAGICONION_VERSION} -o ./publish - - uses: actions/upload-artifact@v1 - with: - name: nuget-experimental - path: ./publish/ - canary-push: - needs: [canary-build, canary-build-experimental] + needs: [canary-build] runs-on: ubuntu-latest timeout-minutes: 5 env: diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 6eda35b24..56df509eb 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -33,15 +33,6 @@ jobs: - run: dotnet test -c Debug MagicOnion.sln - run: dotnet test -c Release MagicOnion.sln - build-dotnet-experimental: - name: "Build .NET Experimental libraries" - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/setup-dotnet - - run: dotnet build ./src/MagicOnion.Server.OpenTelemetry/ -c ${{ env.BUILD_CONFIG }} - build-unity: name: "Build Unity package" if: "((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:'))" diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 39009d6bb..ccfb63df2 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -145,23 +145,6 @@ jobs: name: nuget path: ./publish/ - build-dotnet-experimental: - needs: [update-packagejson] - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ needs.update-packagejson.outputs.sha }} - - uses: ./.github/actions/setup-dotnet - - run: echo ${{ needs.update-packagejson.outputs.sha }} - - run: dotnet build ./src/MagicOnion.Server.OpenTelemetry/ -c Release - - run: dotnet pack ./src/MagicOnion.Server.OpenTelemetry/MagicOnion.Server.OpenTelemetry.csproj -c Release --no-build -o ./publish - - uses: actions/upload-artifact@v1 - with: - name: nuget-experimental - path: ./publish/ - build-unity: needs: [update-packagejson] strategy: @@ -201,7 +184,7 @@ jobs: create-release: if: github.event.inputs.dry_run == 'false' needs: - [update-packagejson, update-sourcegenerator-unity, build-dotnet, build-dotnet-experimental, build-unity] + [update-packagejson, update-sourcegenerator-unity, build-dotnet, build-unity] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3