Skip to content

Commit ae03a18

Browse files
authored
Merge pull request #10 from ellizio/dev
v1.0.0
2 parents 866c1ba + c282231 commit ae03a18

File tree

71 files changed

+2112
-395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2112
-395
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Preserve line endings in gradle scripts
5+
gradlew* -text diff

.github/workflows/CI.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
Build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
submodules: recursive
12+
- uses: actions/cache@v2
13+
with:
14+
path: |
15+
build/gradle-jvm
16+
~/.nuget/packages
17+
~/.gradle/caches
18+
~/.gradle/wrapper
19+
key: ${{ runner.os }}-Build-${{ hashFiles('gradlew.bat', 'src/dotnet/*/*.csproj', 'src/dotnet/*.props', 'gradle-wrapper.properties') }}
20+
- run: ./gradlew :rdgen --no-daemon
21+
- run: ./gradlew :buildPlugin --no-daemon
22+
- uses: actions/upload-artifact@v3
23+
if: always()
24+
with:
25+
name: ${{ github.event.repository.name }}.CI.${{ github.ref_name }}
26+
path: output
27+
Test:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v2
31+
with:
32+
submodules: recursive
33+
- uses: actions/cache@v2
34+
with:
35+
path: |
36+
build/gradle-jvm
37+
packages
38+
~/.nuget/packages
39+
~/.gradle/caches
40+
~/.gradle/wrapper
41+
key: ${{ runner.os }}-Test-${{ hashFiles('gradlew.bat', 'src/dotnet/*/*.csproj', 'src/dotnet/*.props', 'gradle-wrapper.properties') }}
42+
- run: ./gradlew :rdgen --no-daemon
43+
- run: ./gradlew :testDotNet --no-daemon

.github/workflows/Deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
8+
jobs:
9+
Publish:
10+
runs-on: windows-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
submodules: recursive
15+
- run: ./gradlew :publishPlugin -PBuildConfiguration="Release" -PPluginVersion="${{ github.ref_name }}" -PPublishToken="${{ env.PUBLISH_TOKEN }}"
16+
env:
17+
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
18+
- uses: actions/upload-artifact@v3
19+
if: always()
20+
name: ${{ github.event.repository.name }}.${{ github.ref_name }}
21+
path: output

0 commit comments

Comments
 (0)