Remove step "file exists"
This commit is contained in:
parent
c58a805ae4
commit
62db1f8b5c
2 changed files with 5 additions and 5 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -15,13 +15,13 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: File exists
|
# - name: File exists
|
||||||
shell: pwsh
|
# shell: pwsh
|
||||||
run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
||||||
- name: Create msi from PowerShell Script
|
- name: Create msi from PowerShell Script
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
'./$Env:GITHUB_WORKSPACE/test1.ps1'
|
.\test1.ps1
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
test.ps1
2
test.ps1
|
|
@ -1,4 +1,4 @@
|
||||||
Get-Date
|
Get-Date
|
||||||
Start-Sleep -Seconds 10
|
Start-Sleep -Seconds 10
|
||||||
Get-Date
|
Get-Date
|
||||||
New-Item -Name test.txt
|
New-Item -Name test.txt -Value "Hi"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue