Skip to content

build: add release workflow #2

build: add release workflow

build: add release workflow #2

Workflow file for this run

name: Build binary files for release
on:
release:
types:
- 'created'
- 'edited'
jobs:
build-main:

Check failure on line 10 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- run: ./gradlew assembleRelease --stacktrace
- run: ./gradlew bundleRelease --stacktrace
- name: Upload APK Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/apk/release/
- name: Upload AAB (App Bundle) Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/bundle/release/