Skip to content

Commit bbd9fb2

Browse files
🚀 [Feature]: Add support for macOS (#17)
## Description This pull request uses a new function in `Build-PSModule` that runs local `build.ps1` scripts. This allows the build process to happen in the workflow instead of on some tools PC. - Fixes #15 ### "GitHub secret service" example script update: * Changed the `EncryptedSecret` parameter to `Secret` to align with the expected parameter names. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [x] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent d764995 commit bbd9fb2

88 files changed

Lines changed: 6 additions & 2898 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/Linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
VALIDATE_MARKDOWN_PRETTIER: false
3131
VALIDATE_YAML_PRETTIER: false
3232
VALIDATE_JSON_PRETTIER: false
33+
VALIDATE_JSCPD: false

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ outputs/*
1414

1515
# .Net build output
1616
bin/
17-
obj/
17+
obj/
18+
libs/

examples/GitHubSecretService.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ $GitHubSecretStore[$secretInfo.SecretName] = [pscustomobject]@{
4343
# 5) When used in GitHub Actions, the GitHub Secret Service likely ONLY trusts the 'GitHub Actions' App,
4444
# and retrieves the secret by its name.
4545
$actionParams = @{
46-
EncryptedSecret = $GitHubSecretStore[$secretName].Secret
47-
PublicKey = $GitHubSecretStore[$secretName].PublicKey
48-
PrivateKey = $GitHubSecretStore[$secretName].PrivateKey
46+
Secret = $GitHubSecretStore[$secretName].Secret
47+
PublicKey = $GitHubSecretStore[$secretName].PublicKey
48+
PrivateKey = $GitHubSecretStore[$secretName].PrivateKey
4949
}
5050
$decryptedString = ConvertFrom-SodiumEncryptedString @actionParams
5151

Binary file not shown.

lib/Sodium.Core/Sodium.Core.1.3.5/lib/netstandard2.0/Sodium.Core.xml

Lines changed: 0 additions & 1447 deletions
This file was deleted.
Binary file not shown.

lib/Sodium.Core/Sodium.Core.1.3.5/lib/netstandard2.1/Sodium.Core.xml

Lines changed: 0 additions & 1447 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)