Bump Google.Protobuf #412
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Plugin | |
on: | |
push: | |
branches: [ master, fix-pipelines ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
environment: buildPlugin | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Install .NET dependencies | |
run: dotnet restore | |
- name: Build plugin | |
env: | |
SPECFLOW_TELEMETRY_ENABLED: 0 | |
APPINSIGHTSINSTRUMENTATIONKEY: ${{ secrets.APPINSIGHTSINSTRUMENTATIONKEY }} | |
run: gradle :buildPlugin --stacktrace -PintellijPublishToken=none | |
- name: dotnet-tests-report | |
uses: zyborg/dotnet-tests-report@v1.4.3 | |
env: | |
SPECFLOW_TELEMETRY_ENABLED: 0 | |
with: | |
report_name: plugin_tests | |
report_title: Plugin Tests | |
set_check_status_from_test_outcome: true | |
project_path: src/dotnet/ReSharperPlugin.SpecflowRiderPlugin.Tests/ReSharperPlugin.SpecflowRiderPlugin.Tests.csproj | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Unpack Distribution | |
shell: pwsh | |
run: scripts/Unpack-Distribution.ps1 | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1.0.0 | |
with: | |
name: SpecFlowPlugin | |
path: build/distributions/unpacked |