Run ps script
This commit is contained in:
parent
0d9bf69b5c
commit
ba8e248396
1 changed files with 1 additions and 12 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
|
@ -15,20 +15,9 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# - name: File exists
|
||||
# shell: pwsh
|
||||
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
||||
- name: Create msi from PowerShell Script
|
||||
id: create
|
||||
shell: pwsh
|
||||
run: |
|
||||
Get-Date
|
||||
Start-Sleep -Seconds 10
|
||||
Get-Date
|
||||
New-Item -Name test.txt -Value "Hi"
|
||||
# "$env:GITHUB_WORKSPACE/test1.ps1"
|
||||
run: pwsh -command ".\$GITHUB_WORKSPACE\test.ps1"
|
||||
- name: Upload artifacts
|
||||
if: steps.create.outcome == 'success'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: installer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue