Skip to content

Commit 8874894

Browse files
committed
Update release.yml
1 parent 2f3a5cf commit 8874894

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ jobs:
7575
name: x64-dll
7676
path: ./artifacts/x64
7777

78-
- name: List all artifacts
79-
run: |
80-
Write-Host "All artifacts:"
81-
Get-ChildItem -Path ./artifacts -Recurse | ForEach-Object { Write-Host $_.FullName }
82-
shell: pwsh
83-
8478
- name: Get current directory
8579
id: getdir
8680
shell: pwsh
@@ -92,8 +86,14 @@ jobs:
9286
- name: Rename artifacts for release
9387
shell: pwsh
9488
run: |
95-
Copy-Item -Path "${{ steps.getdir.outputs.CWD }}\artifacts\x86\Memory.dll" -Destination "${{ steps.getdir.outputs.CWD }}\artifacts\x86\Memory-x86.dll" -Force
96-
Copy-Item -Path "${{ steps.getdir.outputs.CWD }}\artifacts\x64\Memory.dll" -Destination "${{ steps.getdir.outputs.CWD }}\artifacts\x64\Memory-x64.dll" -Force
89+
Copy-Item -Path "artifacts\x86\Memory.dll" -Destination "artifacts\x86\Memory-x86.dll" -Force
90+
Copy-Item -Path "artifacts\x64\Memory.dll" -Destination "artifacts\x64\Memory-x64.dll" -Force
91+
92+
- name: List all artifacts
93+
run: |
94+
Write-Host "All artifacts:"
95+
Get-ChildItem -Path ./artifacts -Recurse | ForEach-Object { Write-Host $_.FullName }
96+
shell: pwsh
9797

9898
- name: Create Release
9999
id: create_release
@@ -111,7 +111,7 @@ jobs:
111111
draft: false
112112
prerelease: false
113113
files: |
114-
${{ steps.getdir.outputs.CWD }}\artifacts\x86\Memory-x86.dll
115-
${{ steps.getdir.outputs.CWD }}\artifacts\x64\Memory.dll
114+
artifacts\x86\Memory-x86.dll
115+
artifacts\x64\Memory-x64.dll
116116
env:
117117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)