Build against 2023.3-EAP7-SNAPSHOT #393
Workflow file for this run
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: 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/[email protected] | |
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/[email protected] | |
with: | |
name: SpecFlowPlugin | |
path: build/distributions/unpacked |