Skip to content

Commit

Permalink
Updated some deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bayrakmustafa committed Mar 12, 2024
1 parent 87a813d commit b33ba9a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
30 changes: 15 additions & 15 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 @@ -44,7 +44,7 @@ jobs:
jvm_max_memory: 2048M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign.ps1
path: ./artifacts/codesign.ps1
Expand All @@ -56,7 +56,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 @@ -78,7 +78,7 @@ jobs:
jvm_max_memory: 2048M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign-space.exe
path: ./artifacts/sample file.exe
Expand All @@ -90,7 +90,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 @@ -112,7 +112,7 @@ jobs:
clean_logs: true

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign-override.ps1
path: ./example/codesign.ps1
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
jvm_max_memory: 2048M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign-external.ps1
path: ./artifacts/codesign.ps1
Expand All @@ -156,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 @@ -192,13 +192,13 @@ jobs:
jvm_max_memory: 2048M

- name: Upload Signed Files (1)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign.ps1
path: ./artifacts/codesign1.ps1

- name: Upload Signed Files (2)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sign.ps1
path: ./artifacts/codesign2.ps1
Expand All @@ -210,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 All @@ -235,7 +235,7 @@ jobs:
jvm_max_memory: 4096M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: batch-sign
path: ./artifacts
Expand All @@ -247,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 All @@ -273,7 +273,7 @@ jobs:
jvm_max_memory: 4096M

- name: Upload Signed Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: batch-sign
path: ./artifacts
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ export function setCommand(inputKey: string, command: string, action: string): s
}

if (inputKey == INPUT_USERNAME) {
command = `${command} -username=${input}`;
command = `${command} -username="${input}"`;
} else if (inputKey == INPUT_PASSWORD) {
command = `${command} -password=${input}`;
command = `${command} -password="${input}"`;
} else if (inputKey == INPUT_CREDENTIAL_ID) {
command = `${command} -credential_id=${input}`;
} else if (inputKey == INPUT_TOTP_SECRET) {
Expand Down

0 comments on commit b33ba9a

Please sign in to comment.