Skip to content

Commit 7613cd2

Browse files
authored
Tweaks for testing
1 parent e4a2522 commit 7613cd2

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,24 @@ jobs:
4141
# java-version: '11'
4242
# distribution: 'zulu'
4343

44-
- name: Sign ${{ inputs.signed_binary_name}}
44+
- name: Sign ${{ inputs.signed_binary_name }}
45+
shell: cmd
4546
env:
4647
DIGICERT_TOKEN_PASSWORD: ${{ secrets.DIGICERT_TOKEN_PASSWORD }}
4748
DIGICERT_KEY_ALIAS: ${{ secrets.DIGICERT_KEY_ALIAS }}
4849
DIGICERT_TOKEN_CFG_PATH: ${{ secrets.DIGICERT_TOKEN_CFG_PATH }}
4950
run: |
50-
echo "$Env:DIGICERT_TOKEN_PASSWORD" | jarsigner -verbose `
51-
-tsa http://timestamp.digicert.com `
52-
-keystore NONE `
53-
-storetype PKCS11 `
54-
-providerClass sun.security.pkcs11.SunPKCS11 `
55-
-providerArg "C:\\Users\\lukek\\spice.ai\\taco\\pkcs11properties.cfg" `
56-
-sigalg SHA256withRSA `
57-
-signedjar ${{ inputs.signed_binary_name}} `
58-
spice.taco `
59-
"Spice, Inc."
60-
shell: pwsh
51+
jarsigner -verbose ^
52+
-tsa http://timestamp.digicert.com ^
53+
-keystore NONE ^
54+
-storetype PKCS11 ^
55+
-storepass %DIGICERT_TOKEN_PASSWORD% ^
56+
-providerClass sun.security.pkcs11.SunPKCS11 ^
57+
-providerArg "%DIGICERT_TOKEN_CFG_PATH%" ^
58+
-sigalg SHA256withRSA ^
59+
-signedjar %SIGNED_BINARY_NAME% ^
60+
spice.taco ^
61+
"%DIGICERT_KEY_ALIAS%"
6162
6263
- name: Upload to release
6364
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)