Skip to content

Commit

Permalink
Config: Separate build and release.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySAntonov committed May 20, 2021
1 parent d9b293e commit 25a8346
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,4 @@ jobs:
with:
name: release.apk
path: ${{steps.sign_app.outputs.signedReleaseFile}}

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Android Release

on: push

jobs:

build:

runs-on: ubuntu-latest

steps:
## Checkout repository ###
- name: Checkout
uses: actions/checkout@v2.3.3

## Publish release ###
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 25a8346

Please sign in to comment.