Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 authored Jul 2, 2024
1 parent 070ec63 commit 3b326b9
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ jobs:
$ScriptHookZip = "ScriptHookRDR2_1.0.1491.17.zip"
$ASI_win32 = "Ultimate-ASI-Loader.zip"
$ASI_x64 = "Ultimate-ASI-Loader_x64.zip"
$Crysis3Remaster_Savefiles = "Crysis3Remastered.Patches.SaveGames.zip"
curl -fLJO https://github.com/illusion0001/ScriptHook-Mirrors/releases/download/mirrors/$ScriptHookZip
curl -fLJO https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/latest/download/$ASI_x64
curl -fLJO https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/latest/download/$ASI_win32
curl -fLJO https://github.com/illusion0001/Windows-Game-Patches/releases/download/data-files/$Crysis3Remaster_Savefiles
7z x $ScriptHookZip
7z x $ASI_x64 -o"${{ env.BUILD_CONFIGURATION }}/x64/!ASI_Loader_x64"
7z x $ASI_win32 -o"${{ env.BUILD_CONFIGURATION }}/Win32/!ASI_Loader_Win32"
7z x $Crysis3Remaster_Savefiles
Copy-Item bin/ScriptHookRDR2.dll ${{ env.BUILD_CONFIGURATION }}/x64/RDR3.Patches/
Copy-Item -Recurse -Force data/*/ ${{ env.BUILD_CONFIGURATION }}/
- name: Generate Hash file
Expand All @@ -77,26 +80,7 @@ jobs:
uses: actions/upload-artifact@main
with:
name: ${{ env.zip_name }}
path: |
${{ env.BUILD_CONFIGURATION }}/**/*.asi
${{ env.BUILD_CONFIGURATION }}/**/*.dll
${{ env.BUILD_CONFIGURATION }}/**/*.ini
${{ env.BUILD_CONFIGURATION }}/**/*.CSF
${{ env.BUILD_CONFIGURATION }}/**/*.meta
${{ env.BUILD_CONFIGURATION }}/hashes.txt
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: ${{ env.zip_name }}-pdb
path: |
${{ env.BUILD_CONFIGURATION }}/**/*.asi
${{ env.BUILD_CONFIGURATION }}/**/*.dll
${{ env.BUILD_CONFIGURATION }}/**/*.ini
${{ env.BUILD_CONFIGURATION }}/**/*.CSF
${{ env.BUILD_CONFIGURATION }}/**/*.meta
${{ env.BUILD_CONFIGURATION }}/**/*.pdb
${{ env.BUILD_CONFIGURATION }}/hashes.txt
path: ${{ env.BUILD_CONFIGURATION }}
- name: Create Release
if: |
github.event_name == 'workflow_dispatch' &&
Expand Down

0 comments on commit 3b326b9

Please sign in to comment.