File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 2525 buildTest : ' Test Fixes'
2626
2727 steps :
28+ - name : Configure
29+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
30+
2831 - name : Checkout
2932 uses : actions/checkout@v4
3033 with :
9093 shell : " pwsh"
9194
9295 - name : Import PFX and sign
96+ if : github.event_name != 'pull_request'
9397 env :
94- KEY_PFX_PASS : ${{ secrets.KEY_PFX_PASS}}
98+ KEY_PFX_PASS : ${{ secrets.KEY_PFX_PASS }}
9599 run : |
96100 $pfxBase64 = "${{ secrets.KEY_PFX_B64 }}"
97101 [IO.File]::WriteAllBytes("${{ github.workspace }}\signing-cert.pfx", [Convert]::FromBase64String($pfxBase64))
@@ -158,11 +162,6 @@ jobs:
158162 container : debian:11-slim
159163
160164 steps :
161- - name : Checkout
162- uses : actions/checkout@v4
163- with :
164- fetch-depth : 0
165-
166165 - name : Install dependencies
167166 run : |
168167 dpkg --add-architecture i386
@@ -174,6 +173,14 @@ jobs:
174173 git cmake rsync \
175174 g++ gcc
176175
176+ - name : Configure
177+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
178+
179+ - name : Checkout
180+ uses : actions/checkout@v4
181+ with :
182+ fetch-depth : 0
183+
177184 - name : GPG Import
178185 run : |
179186 echo "${{ secrets.PUB_ASC }}" > "${{ secrets.PUB_ASC_FILE }}"
You can’t perform that action at this time.
0 commit comments