Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Brownstein committed Sep 3, 2023
1 parent 8a79742 commit b39b64d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ jobs:
- name: Build psm1
shell: pwsh
run: |
pwd
gci
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module PowerShellBuild -ErrorAction Stop
# setting a path other than the current dir for Build-PSBuildModule didn't work
# cd ${{ github.workspace }}/${{ env.module_name }}
new-item -path '${{ github.workspace }}/merged' -ItemType directory
Build-PSBuildModule -Path ${{ github.workspace }}/${{ env.module_name }} -DestinationPath ${{ github.workspace }}/merged -ModuleName VenafiPS -Compile -Verbose
cd ${{ github.workspace }}/${{ env.module_name }}
pwd
# new-item -path '${{ github.workspace }}/merged' -ItemType directory
Build-PSBuildModule -Path . -DestinationPath ../merged -ModuleName VenafiPS -Compile -Verbose
- name: Upload module artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit b39b64d

Please sign in to comment.