File tree Expand file tree Collapse file tree 4 files changed +54
-29
lines changed Expand file tree Collapse file tree 4 files changed +54
-29
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : [push]
3
+
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+ strategy :
8
+ matrix :
9
+ java : ['11']
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Setup JDK
13
+ uses : actions/setup-java@v1
14
+ with :
15
+ java-version : ${{ matrix.java }}
16
+ - name : Build
17
+ run : ./gradlew :adapter:build
Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' *'
6
+
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Setup JDK
13
+ uses : actions/setup-java@v1
14
+ with :
15
+ java-version : 11
16
+ - name : Build distribution
17
+ run : ./gradlew :adapter:distZip
18
+ - name : Create release
19
+ uses : actions/create-release@v1
20
+ id : create_release
21
+ env :
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
+ with :
24
+ tag_name : ${{ github.ref }}
25
+ release_name : Version ${{ github.ref }}
26
+ draft : false
27
+ prerelease : false
28
+ - name : Upload asset
29
+ uses : actions/upload-release-asset@v1
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ with :
33
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
34
+ asset_path : ./adapter/build/distributions/adapter.zip
35
+ asset_name : adapter.zip
36
+ asset_content_type : application/zip
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Kotlin Debug Adapter
2
2
3
3
[ ![ Release] ( https://img.shields.io/github/release/fwcd/kotlin-debug-adapter )] ( https://github.com/fwcd/kotlin-debug-adapter/releases )
4
- [ ![ Build Status ] ( https://travis-ci.org /fwcd/kotlin-debug-adapter.svg?branch=master )] ( https://travis-ci.org /fwcd/kotlin-debug-adapter )
4
+ [ ![ Build] ( https://github.com /fwcd/kotlin-debug-adapter/workflows/Build/badge .svg )] ( https://github.com /fwcd/kotlin-debug-adapter/actions )
5
5
[ ![ Downloads] ( https://img.shields.io/github/downloads/fwcd/kotlin-debug-adapter/total )] ( https://github.com/fwcd/kotlin-debug-adapter/releases )
6
6
[ ![ Chat] ( https://img.shields.io/badge/chat-on%20discord-7289da )] ( https://discord.gg/cNtppzN )
7
7
You can’t perform that action at this time.
0 commit comments