Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtr126 committed Feb 21, 2024
1 parent 80c0bdf commit df3fbe2
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ name: Build and Release APK

on:
workflow_dispatch:

push:
paths:
- '**.yml'

jobs:
build-docs:
uses: ./.github/workflows/build-docs.yml

build:

needs:
- build-docs

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

Expand All @@ -33,10 +40,18 @@ jobs:
echo '${{ secrets.KEYSTORE }}' | base64 -d > keystore.jks
fi
- name: Download artifacts
uses: actions/download-artifact@v4

- name: Move artifact to assets
run: |
mkdir ./app/src/main/assets
mv ./github-pages ./app/src/main/assets/XtMapper-docs
- name: Build with Gradle
run: ./gradlew assembleRelease

- name: release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
Expand Down

0 comments on commit df3fbe2

Please sign in to comment.