Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
1749a3b3ef
2 changed files with 5 additions and 8 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
|
@ -3,9 +3,6 @@ name: Test
|
|||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -18,13 +15,13 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: File exists
|
||||
shell: pwsh
|
||||
run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
||||
# - name: File exists
|
||||
# shell: pwsh
|
||||
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
||||
- name: Create msi from PowerShell Script
|
||||
shell: pwsh
|
||||
run: |
|
||||
"./$Env:GITHUB_WORKSPACE/test1.ps1"
|
||||
./test1.ps1
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
|
|||
2
test.ps1
2
test.ps1
|
|
@ -1,4 +1,4 @@
|
|||
Get-Date
|
||||
Start-Sleep -Seconds 10
|
||||
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