mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
initial
This commit is contained in:
commit
95d272cacd
12 changed files with 407 additions and 0 deletions
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: CI
|
||||
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
|
||||
- name: Build and publish
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew :publish -Pversion=${GITHUB_REF##*/}-SNAPSHOT
|
||||
./gradlew :publish -Pversion=$(git rev-parse --short "$GITHUB_SHA")
|
||||
Loading…
Add table
Add a link
Reference in a new issue