diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2980eda08..e67d5105c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,17 @@ jobs: runs-on: windows-2022 steps: + - name: Setup github SSH + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.UEPSEUDO_SSH_KEY }} + known_hosts: unnecessary + - name: Checkout uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 # needed to get commits since last tag ssh-key: ${{ secrets.UEPSEUDO_SSH_KEY }} - name: Setup Python @@ -29,6 +36,9 @@ jobs: - name: Setup DirectX SDK (for xinput1_3.dll) run: | + Invoke-WebRequest -URI https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe -OutFile dxredist.exe + Start-Process -Wait dxredist.exe -ArgumentList "/q /t:`"$PWD/dxredist`" /c" + Start-Process -Wait dxredist/DXSETUP.exe /silent Invoke-WebRequest -URI https://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe -OutFile dxwebsetup.exe Start-Process -Wait dxwebsetup.exe /q @@ -39,7 +49,7 @@ jobs: - name: Build run: | - cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release + cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Game__Shipping__Win64 cmake --build build - name: Package