Skip to content

Commit

Permalink
fix Workflow to accept signing Config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiserdragon2 committed Aug 3, 2024
1 parent a42d891 commit 2c46730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/BuildDebug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
java-version: 21
cache: gradle
- name: Write sign info
if: github.repository_owner == 'Donnnno'
if: ${{ github.actor == 'Donnnno' || github.actor == 'Kaiserdragon2' }}
run: |
echo "Workflow manually triggered by ${{ github.actor }}
if [ ! -z "${{ secrets.KEYSTORE }}" ]; then
echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties
echo keyAlias='${{ secrets.KEY_ALIAS }}' >> keystore.properties
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/BuildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
java-version: 21
cache: gradle
- name: Write sign info
if: github.repository_owner == 'Donnnno'
run: |
if [ ! -z "${{ secrets.KEYSTORE }}" ]; then
echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties
Expand Down

0 comments on commit 2c46730

Please sign in to comment.