Skip to content

Commit

Permalink
Merge pull request #435 from Cysharp/chore/setupdotnet
Browse files Browse the repository at this point in the history
chore: remove setup-dotnet
  • Loading branch information
mayuki authored May 31, 2021
2 parents 3a19c40 + 58b96fc commit dfdb618
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,8 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
NUGET_XMLDOC_MODE: skip
DISABLE_NETFX_TARGET_BUILD: 1
DOTNET_SDK_VERSION_3: "3.1.403"
DOTNET_SDK_VERSION_5: "5.0.100"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_3 }}"
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_5 }}"
- 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
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,9 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
NUGET_XMLDOC_MODE: skip
DOTNET_SDK_VERSION_3: "3.1.x"
DOTNET_SDK_VERSION_5: "5.0.x"
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_3 }}"
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_5 }}"
# build
- run: dotnet build ./src/MagicOnion/ -c Debug
- run: dotnet build ./src/MagicOnion.Abstractions/ -c Debug
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ env:
GIT_TAG: ${{ github.event.inputs.tag }}
DRY_RUN: ${{ github.event.inputs.dry_run }}
DRY_RUN_BRANCH_PREFIX: "test_release"
DOTNET_SDK_VERISON_3: 3.1.x
DOTNET_SDK_VERISON_5: 5.0.x

jobs:
update-packagejson:
Expand Down Expand Up @@ -86,12 +84,6 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ needs.update-packagejson.outputs.sha }}
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_3 }}"
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_5 }}"
# build
- run: dotnet build ./src/MagicOnion/ -c Release -p:VersionPrefix=${{ env.GIT_TAG }}
- run: dotnet build ./src/MagicOnion.Abstractions/ -c Release -p:VersionPrefix=${{ env.GIT_TAG }}
Expand Down Expand Up @@ -186,9 +178,6 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
NUGET_XMLDOC_MODE: skip
steps:
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "${{ env.DOTNET_SDK_VERSION_3 }}"
# Create Release
- uses: actions/create-release@v1
id: create_release
Expand Down

0 comments on commit dfdb618

Please sign in to comment.