-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from johnduprey/dev
Dev to main
- Loading branch information
Showing
6 changed files
with
66 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Run PSScriptAnalyzer | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run PSScriptAnalyzer | ||
uses: microsoft/psscriptanalyzer-action@v1.1 | ||
with: | ||
path: .\BitwardenPS | ||
recurse: true | ||
output: results.sarif | ||
|
||
- name: Upload SARIF results file | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: results.sarif |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish New Version | ||
|
||
on: | ||
push: | ||
tags: '*' | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: PowerShell script | ||
uses: Amadevus/pwsh-script@v2.0.3 | ||
id: Build-Module | ||
with: | ||
script: | | ||
Install-Module ModuleBuilder -Force | ||
Build-Module | ||
- name: Update Metadata | ||
uses: natescherer/update-powershell-metadata-action@v2 | ||
with: | ||
path: .\Output\BitwardenPS | ||
version: ${{ github.ref_name }} | ||
|
||
- name: Publish PowerShell Module | ||
uses: pcgeek86/publish-powershell-module-action@v20 | ||
with: | ||
modulePath: .\Output\BitwardenPS | ||
NuGetApiKey: ${{ secrets.PS_GALLERY_KEY }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Output |
This file contains 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
This file contains 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