Skip to content

Commit

Permalink
Merge pull request #29 from rstolpe/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rstolpe authored Jan 20, 2023
2 parents a3f5580 + be83c85 commit 0f3575e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Publish
env:
PSGALLERY: ${{ secrets.PSGALLERY }}
run: .\publish.ps1
shell: pwsh
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@
.Trashes
ehthumbs.db
Thumbs.db
RSModuleBuilder.ps1
MaintainModule.psd1.source

*.csproj.user

bin/
obj/
.vs/
.vscode/
.idea/
license/
license/

RSModuleBuilder.ps1
MaintainModule.psd1.source
2 changes: 2 additions & 0 deletions publish.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ModulePath = "$PSScriptRoot\MaintainModule"
Publish-Module -Path $ModulePath -NuGetApiKey $Env:PSGALLERY

0 comments on commit 0f3575e

Please sign in to comment.