use $env:GITHUB_WORKSPACE for uploading artifacts

This commit is contained in:
Benjamin Gebauer 2023-05-31 12:52:27 +02:00
parent 92d74eb7ee
commit 52601b1540

View file

@ -21,14 +21,14 @@ jobs:
- name: Create msi from PowerShell Script - name: Create msi from PowerShell Script
shell: pwsh shell: pwsh
run: | run: |
"$env:GITHUB_WORKSPACE\test1.ps1" "$env:GITHUB_WORKSPACE/test1.ps1"
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: installer name: installer
path: ./test.txt path: "$env:GITHUB_WORKSPACE/test.txt"
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: files name: files
path: files/**/* path: "$env:GITHUB_WORKSPACE/files/**/*"