Skip to content

Commit

Permalink
add secret access to sign.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Apr 5, 2024
1 parent caa57bb commit a6f5221
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
name: Java Signed CI

on: [push]
secrets:
DEV_PASSWORD:
description: 'A password to unlock the private key'
required: true
DEV_SIGNING_KEY:
description: 'the private key'
required: true

permissions:
contents: read
Expand All @@ -19,6 +12,13 @@ permissions:

jobs:
build-signed:
secrets:
DEV_PASSWORD:
description: 'A password to unlock the private key'
required: true
DEV_SIGNING_KEY:
description: 'the private key'
required: true
runs-on: ubuntu-latest
steps:
- name: GetText
Expand Down Expand Up @@ -55,6 +55,13 @@ jobs:
path: ./app/build/outputs/apk/free/debug/app-free-debug.apk

trunk-signed:
secrets:
DEV_PASSWORD:
description: 'A password to unlock the private key'
required: true
DEV_SIGNING_KEY:
description: 'the private key'
required: true
runs-on: ubuntu-latest
steps:
- name: GetText
Expand Down

0 comments on commit a6f5221

Please sign in to comment.