Skip to content

Create release from ci for tags #6

Create release from ci for tags

Create release from ci for tags #6

Workflow file for this run

on: [push, workflow_dispatch]
jobs:
build:
name: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
- uses: nttld/setup-ndk@v1
with:
# NOTE: this must match NDK version in build.gradle `ext.ndkVersion`
ndk-version: r25c
- uses: gradle/gradle-build-action@v2
- run: ./gradlew build
- uses: actions/upload-artifact@v3
with:
name: libuvccamera
path: libuvccamera/build/outputs/aar/*.aar
- uses: actions/upload-artifact@v3
with:
name: usbCameraCommon
path: usbCameraCommon/build/outputs/aar/*.aar
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
libuvccamera/build/outputs/aar/*.aar
usbCameraCommon/build/outputs/aar/*.aar