try powershell methods directly without script
This commit is contained in:
parent
b3c1865668
commit
0d9bf69b5c
1 changed files with 5 additions and 1 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -22,7 +22,11 @@ jobs:
|
|||
id: create
|
||||
shell: pwsh
|
||||
run: |
|
||||
"$env:GITHUB_WORKSPACE/test1.ps1"
|
||||
Get-Date
|
||||
Start-Sleep -Seconds 10
|
||||
Get-Date
|
||||
New-Item -Name test.txt -Value "Hi"
|
||||
# "$env:GITHUB_WORKSPACE/test1.ps1"
|
||||
- name: Upload artifacts
|
||||
if: steps.create.outcome == 'success'
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue