From a6f5221975c595945e23e84b65b5bd73ab9954fb Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Fri, 5 Apr 2024 14:52:41 -0400 Subject: [PATCH] add secret access to sign.yml --- .github/workflows/sign.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sign.yml b/.github/workflows/sign.yml index 8f40abbe7..3aaa84e38 100644 --- a/.github/workflows/sign.yml +++ b/.github/workflows/sign.yml @@ -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 @@ -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 @@ -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