Skip to content

Commit

Permalink
Added workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
r0ld3x committed Aug 19, 2024
1 parent 6b53e52 commit 2947765
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/android-apk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,14 @@ jobs:
- name: 📦 Build Android app
run: eas build --platform android --profile preview --local --output ${{ github.workspace }}/app-release.apk

- name: 📦 Get Commit Message
id: get_commit_message
run: echo "::set-output name=message::$(git log -1 --pretty=format:%s)"

- name: 📦 Upload APK to GitHub Release
id: upload-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ github.workspace }}/app-release.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create GitHub Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Release notes for ${{ github.ref }}
Latest commit message:
${{ steps.get_commit_message.outputs.message }}
generate_release_notes: true
draft: false
prerelease: false
env:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/android-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 2947765

Please sign in to comment.