Skip to content

Commit

Permalink
build on new release only
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Sep 1, 2023
1 parent 3151ede commit 0b8a86c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: android-build
on:
# push:
# branches:
# - master
push:
# Pattern matched against refs/tags
tags:
- "**" # Push events to every tag including hierarchical tags like v1.0/beta
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -26,8 +27,8 @@ jobs:
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'release.keystore'
fileDir: '/home/runner/work/ssp-key/ssp-key/android/app/'
fileName: "release.keystore"
fileDir: "/home/runner/work/ssp-key/ssp-key/android/app/"
encodedString: ${{ secrets.ANDROID_SIGNING_KEY }}
- name: Build Android APK Release
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/android_release_self_hosted.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: android-build-self
on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -26,8 +24,8 @@ jobs:
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'release.keystore'
fileDir: '/home/user/actions-runner/_work/ssp-key/ssp-key/android/app/'
fileName: "release.keystore"
fileDir: "/home/user/actions-runner/_work/ssp-key/ssp-key/android/app/"
encodedString: ${{ secrets.ANDROID_SIGNING_KEY }}
- name: Build Android APK Release
run: |
Expand Down

0 comments on commit 0b8a86c

Please sign in to comment.