Skip to content

Commit 33a2254

Browse files
Test Script
1 parent 48f6c24 commit 33a2254

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/gradle-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ jobs:
3030
cache: gradle
3131
- name: Easy detect-secrets
3232
uses: RobertFischer/[email protected]
33+
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
34+
shell: pwsh
35+
env:
36+
ENCODED_VALUE: ${{ secrets.LOCAL_PROPERTIES }}
37+
OUTPUT_PATH: '.\local.properties'
38+
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
39+
shell: pwsh
40+
env:
41+
ENCODED_VALUE: ${{ secrets.SECRING_GPG }}
42+
OUPUT_PATH: '.\secring.gpg'
3343
- name: Grant execute permission for gradlew
3444
run: chmod +x gradlew
3545
- name: Build with Gradle

0 commit comments

Comments
 (0)