Skip to content

Commit

Permalink
try using composite with if
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Jun 23, 2023
1 parent e53c720 commit 16d8084
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/actions/0_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ runs:
steps:
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Set CodeSign Certificate macOS
if: runner.os == 'macOS' && ${{ inputs.mac-certificate }} != null
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ inputs.mac-certificate }}
p12-password: ${{ inputs.mac-certificate-pssw }}
- name: Try
if: ${{ runner.os }} == 'macOS'
shell: bash
run: |
echo "Hello World ${{ runner.os }}"
6 changes: 6 additions & 0 deletions .github/workflows/BuildMeshLab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
with:
mac-certificate: $MAC_CERT
mac-certificate-pssw: $MAC_CERT_PSSW
- name: Set CodeSign Certificate macOS
if: runner.os == 'macOS' && env.MAC_CERT != null
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.MACOS_CERTIFICATE }}
p12-password: ${{ secrets.MACOS_CERTIFICATE_PSSW }}
- name: Set CodeSign Certificate Windows
if: runner.os == 'Windows' && env.WIN_CERT != null
run: |
Expand Down

0 comments on commit 16d8084

Please sign in to comment.