Skip to content

Commit

Permalink
Release task (#113)
Browse files Browse the repository at this point in the history
* Release job

* Remove bintray
  • Loading branch information
hannesa2 authored Mar 29, 2021
1 parent d2ea174 commit abf09d5
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 89 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/Android-CI-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

on:
push:
tags:
- '*'

jobs:
build:
name: Publish release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Get the version
id: tagger
uses: jimschubert/query-tag-action@v2
with:
skip-unshallow: 'true'
abbrev: false
commit-ish: HEAD
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.1
- name: Build project
run: ./gradlew clean build
env:
VERSION: ${{ github.ref }}
- run: |
assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
hub release create ${assetsAAR} -m ${{steps.tagger.outputs.tag}} ${{steps.tagger.outputs.tag}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# ipcam-view ![ipcam-view](images/logo.png)

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ipcam--view-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3358)
[![Download](https://api.bintray.com/packages/niqdev/maven/mjpeg-view/images/download.svg)](https://bintray.com/niqdev/maven/mjpeg-view/_latestVersion)

Android MJPEG video streaming made simple!

Expand Down
85 changes: 0 additions & 85 deletions bintray.gradle

This file was deleted.

1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
}
}

Expand Down
2 changes: 0 additions & 2 deletions mjpeg-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ dependencies {
api 'io.reactivex:rxandroid:1.2.1'
}

apply from: '../bintray.gradle'

task hello(dependsOn: build) {
println ''
println ' _ _ _ _ _ _ _ '
Expand Down

0 comments on commit abf09d5

Please sign in to comment.