Skip to content

Commit c6492fe

Browse files
authored
Merge pull request #317 from microsoftgraph/rsh/workflow-patch
Placement of Secure-File download
2 parents 06aed87 + 628c64d commit c6492fe

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
env:
4141
ENCODED_VALUE: ${{ secrets.LOCAL_PROPERTIES }}
4242
OUTPUT_PATH: .\local.properties
43+
- run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH
44+
shell: pwsh
45+
env:
46+
ENCODED_VALUE: ${{ secrets.SECRING_GPG }}
47+
OUPUT_PATH: .\secring.gpg
4348
- name: Grant execute permission for gradlew
4449
run: chmod +x gradlew
4550
- name: Publish

.github/workflows/gradle-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ jobs:
3030
cache: gradle
3131
- name: Easy detect-secrets
3232
uses: RobertFischer/detect-secrets-action@v2.0.0
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-
OUPUT_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
4333
- name: Grant execute permission for gradlew
4434
run: chmod +x gradlew
4535
- name: Build with Gradle

0 commit comments

Comments
 (0)