File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,32 +43,25 @@ jobs:
4343 env :
4444 AC_USER : ${{ secrets.AC_USER }}
4545 run : |
46- python3 - <<'PYEOF'
47- import os
48- username = os.environ['AC_USER']
49- provider = "Z68SAQG5BR"
50- identity = "Developer ID Application: CHECKMARX LTD (Z68SAQG5BR)"
51- content = f'''source = ["./dist/cx-mac-universal_darwin_all/cx"]
46+ cat > gonMac-custom.hcl <<EOF
47+ source = ["./dist/cx-mac-universal_darwin_all/cx"]
5248 bundle_id = "com.checkmarx.cli"
5349
54- apple_id {{
55- username = "{username}"
56- password = "@env:AC_PASSWORD"
57- provider = "{provider}"
58- }}
50+ apple_id {
51+ username = "$AC_USER"
52+ provider = "Z68SAQG5BR"
53+ }
5954
60- sign {{
61- application_identity = "{identity} "
62- }}
55+ sign {
56+ application_identity = "Developer ID Application: CHECKMARX LTD (Z68SAQG5BR) "
57+ }
6358
64- dmg {{
59+ dmg {
6560 output_path = "./dist/cx-mac-universal_darwin_all/cx.dmg"
6661 volume_name = "cx"
67- }}
68- '''
69- with open('gonMac-custom.hcl', 'w') as f:
70- f.write(content)
71- PYEOF
62+ }
63+ EOF
64+ sed -i 's/^ //' gonMac-custom.hcl
7265
7366 - name : Tag current commit as release version
7467 run : |
You can’t perform that action at this time.
0 commit comments