Skip to content

Commit

Permalink
Updated to run on ubuntu
Browse files Browse the repository at this point in the history
Removed file output
Adding import test
  • Loading branch information
Agazoth committed Jul 23, 2024
1 parent 465eb63 commit a65f26c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -85,12 +85,11 @@ jobs:
run: |
Write-Host $Env:GITHUB_REF
$ModuleName = (Get-ChildItem -Path ./Artifact/).Name
Get-ChildItem -Path ./Artifact/ -recurse
echo "MODULE_NAME=$ModuleName" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
Write-Host "Path: $(pwd)"
Write-Host "ModuleName: $ModuleName"
#Import-Module ./Artifact/$ModuleName -Force -Verbose -Debug
#Get-Command -Module $ModuleName
Import-Module ./Artifact/$ModuleName -Force -Verbose -Debug
Get-Command -Module $ModuleName
shell: pwsh

- name: Publish to Powershell Gallery
Expand Down

0 comments on commit a65f26c

Please sign in to comment.