Skip to content

Commit

Permalink
fix: add verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwynFr committed Apr 30, 2023
1 parent 9abd109 commit feb906a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches: [master]
paths: ["src/**"]
# paths: ["src/**"]

jobs:
release:
Expand All @@ -19,7 +19,7 @@ jobs:

- name: 'Copy templates'
shell: pwsh
run: build/Release.ps1 -Version ${{ steps.new-version.outputs.next-version }} -ApiKey ${{ secrets.PSGALLERY_APIKEY }}
run: build/Release.ps1 -Version ${{ steps.new-version.outputs.next-version }} -ApiKey ${{ secrets.PSGALLERY_APIKEY }} -Verbose

- name: Tag new version on the repository
uses: arwynfr/actions-conventional-versioning@v1
2 changes: 2 additions & 0 deletions build/Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ $Destination = Join-Path $Root out/ArmaServer
Copy-Item $Sources/.templates $Destination/.templates -Recurse -Force
Copy-Item $Builds/ArmaServer.psd1 $Destination/ArmaServer.psd1 -Force
Get-ChildItem $Sources -Filter '*.ps1' | & $Builds/New-PowershellModuleFile.ps1 -DestinationPath $Destination/ArmaServer.psm1 -Force
Import-PowerShellDataFile $Destination/ArmaServer.psd1 | ConvertTo-Json | Write-Verbose
Get-ChildItem -Recurse $Destination
Update-ModuleManifest -ModuleVersion $Version $Destination/ArmaServer.psd1
Publish-Module -Path $Destination -NuGetApiKey $ApiKey

0 comments on commit feb906a

Please sign in to comment.