Repository navigation
Vastly simplify the build process and process for switching between Rider versions #157
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| Build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: jlumbroso/free-disk-space@main | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: configure_java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'corretto' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| # The SDK version is pinned in global.json (one place for local builds and CI) | |
| global-json-file: global.json | |
| - run: ./gradlew :buildPlugin --no-daemon | |
| - run: ./gradlew :buildResharperPlugin --no-daemon | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: ${{ github.event.repository.name }}.CI.${{ github.head_ref || github.ref_name }} | |
| path: output | |
| Test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: jlumbroso/free-disk-space@main | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: configure_java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'corretto' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| # The SDK version is pinned in global.json (one place for local builds and CI) | |
| global-json-file: global.json | |
| - run: ./gradlew :testDotNet --no-daemon |