Skip to content

Commit 2f3a5cf

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

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ jobs:
8989
Write-Host "Current directory is $cwd"
9090
echo "CWD=$cwd" >> $env:GITHUB_OUTPUT
9191
92+
- name: Rename artifacts for release
93+
shell: pwsh
94+
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
97+
9298
- name: Create Release
9399
id: create_release
94100
uses: softprops/action-gh-release@v1
@@ -105,7 +111,7 @@ jobs:
105111
draft: false
106112
prerelease: false
107113
files: |
108-
artifacts/x86/Memory.dll
109-
artifacts/x64/Memory.dll
114+
${{ steps.getdir.outputs.CWD }}\artifacts\x86\Memory-x86.dll
115+
${{ steps.getdir.outputs.CWD }}\artifacts\x64\Memory.dll
110116
env:
111117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)