pass secrets explicitly to the composite action #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code signing via action | |
on: | |
push: | |
permissions: read-all | |
jobs: | |
code-signing: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Sign Artifact with CodeSignTool | |
uses: Open-Systems-Pharmacology/Test_CS/.github/actions/codesigner-SSL@main | |
with: | |
file_path: ./input_files/PKSim.exe | |
ES_USERNAME: ${{ secrets.ES_USERNAME }} | |
ES_PASSWORD: ${{ secrets.ES_PASSWORD }} | |
ES_CREDENTIAL_ID: ${{ secrets.ES_CREDENTIAL_ID }} | |
ES_TOTP_SECRET: ${{ secrets.ES_TOTP_SECRET }} | |
- name: Push signed exe as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: signed_PKSim.exe | |
path: ./input_files/PKSim.exe |