-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (32 loc) · 852 Bytes
/
Copy pathCI.yml
File metadata and controls
34 lines (32 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
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:
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