Skip to content

Commit

Permalink
Merge pull request #20 from SSLcom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
bayrakmustafa authored Mar 14, 2024
2 parents 121e2a8 + f2a831e commit 45d6844
Show file tree
Hide file tree
Showing 12 changed files with 25,606 additions and 1,149 deletions.
46 changes: 40 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm --version && node --version
npm install
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: ['build']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Input file for test signing
shell: bash
Expand All @@ -49,14 +49,48 @@ jobs:
name: sign.ps1
path: ./artifacts/codesign.ps1

sign-input-space:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
needs: ['build']
steps:
- uses: actions/checkout@v4

- name: Create Input file for test signing
shell: bash
run: |
mkdir -p ${GITHUB_WORKSPACE}/example
cp "./sample/sample file.exe" "${GITHUB_WORKSPACE}/example/sample file.exe"
- uses: ./
with:
command: sign
username: ${{ secrets.ES_USERNAME }}
password: ${{ secrets.ES_PASSWORD }}
credential_id: ${{ secrets.CREDENTIAL_ID }}
totp_secret: ${{ secrets.ES_TOTP_SECRET }}
file_path: ${GITHUB_WORKSPACE}/example/sample file.exe
output_path: ${GITHUB_WORKSPACE}/artifacts
malware_block: false
environment_name: TEST
jvm_max_memory: 2048M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
with:
name: sign-space.exe
path: ./artifacts/sample file.exe

sign-override:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
needs: ['build']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Input file for test signing
shell: bash
Expand Down Expand Up @@ -122,7 +156,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: ['build']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Input file for test signing
shell: bash
Expand Down Expand Up @@ -176,7 +210,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: ['sign', 'sign-override', 'sign-external']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create multiple Input file for test signing
shell: bash
Expand Down Expand Up @@ -213,7 +247,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: ['batch-sign']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create multiple Input file for test signing
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ inputs:
required: false
default: "1024M"
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 45d6844

Please sign in to comment.