Skip to content

Try to fix build in release workflow (#21) #4

Try to fix build in release workflow (#21)

Try to fix build in release workflow (#21) #4

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Build
run: ./gradlew :ariesframework:assemble
- name: Publish
run: ./gradlew publishAllPublicationsToGithubRepository
env:
VERSION: ${{ github.ref }}
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
draft: true
prerelease: false