Skip to content

Commit

Permalink
add ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
siddsarkar committed Sep 28, 2021
1 parent 596ebf1 commit 81527f4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: |
npm install
- name: Build
run: |
cd android
chmod +x ./gradlew
./gradlew assembleRelease
# - name: Test
# run: |
# npm test
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
android/app/build/outputs/apk/release/app-universal-release.apk
android/app/build/outputs/apk/release/app-armeabi-v7a-release.apk
android/app/build/outputs/apk/release/app-x86_64-release.apk
android/app/build/outputs/apk/release/app-x86-release.apk
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 81527f4

Please sign in to comment.