diff --git a/.github/workflows/release_deploy_play_store.yml b/.github/workflows/release_deploy_play_store.yml index 2d9005e..3def387 100644 --- a/.github/workflows/release_deploy_play_store.yml +++ b/.github/workflows/release_deploy_play_store.yml @@ -34,7 +34,18 @@ jobs: # Clone repository - name: Checkout Paperless mobile, get packages and run code generators uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - + + # Extract secrets into corresponding files + - name: Test gpg decryption + run: | + echo "$TEST_ASC" > test.txt.asc + cat test.txt.asc + gpg --batch --passphrase "test123" -d -o test.txt test.txt.asc + env: + TEST_ASC: ${{ env.TEST_ASC }} + working-directory: android + + # Extract secrets into corresponding files - name: Configure Keystore run: | diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +Hello World! diff --git a/test.txt.asc b/test.txt.asc new file mode 100644 index 0000000..83f717d --- /dev/null +++ b/test.txt.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP MESSAGE----- + +jA0EBwMC/WSrorUBk1by0koBIeOS2ND9NSwUl/x3zjkp59vOTGIr3pzZ23nNyOtM +f6T3JApwZ4hdARDp6rt69o8H9dUUZzEb/GzXe8RUKqdndwfOrU55ZEnz7g== +=4S9W +-----END PGP MESSAGE-----