Skip to content

Commit

Permalink
internal: add server dist artifact (skyrim-multiplayer#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Jun 23, 2024
1 parent cfef3de commit 009774d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,28 @@ jobs:
DEPLOY_BRANCH: ""
ONLY_PUSH: false
DIST_ARTIFACT_NAME: dist-1.5
SERVER_DIST_ARTIFACT_NAME: server-dist-1.5
- DESCRIPTION: 'Skyrim Anniversary Edition (1.6)'
SKYRIM_SE_FLAG: OFF
SP_NEXUS_ARTIFACT_NAME: Skyrim Platform %SP_VERSION% (Anniversary Edition)
DEPLOY_BRANCH: ""
ONLY_PUSH: false
DIST_ARTIFACT_NAME: dist
SERVER_DIST_ARTIFACT_NAME: server-dist
- DESCRIPTION: 'Skyrim Anniversary Edition (1.6) - Indev'
SKYRIM_SE_FLAG: OFF
SP_NEXUS_ARTIFACT_NAME: nope
DEPLOY_BRANCH: "indev"
ONLY_PUSH: true
DIST_ARTIFACT_NAME: dist-indev
SERVER_DIST_ARTIFACT_NAME: server-dist-indev
- DESCRIPTION: 'Skyrim Anniversary Edition (1.6) - SweetPie'
SKYRIM_SE_FLAG: OFF
SP_NEXUS_ARTIFACT_NAME: nope
DEPLOY_BRANCH: "sweetpie"
ONLY_PUSH: true
DIST_ARTIFACT_NAME: dist-sweetpie
SERVER_DIST_ARTIFACT_NAME: server-dist-sweetpie

# VS 2019 is still supported, but GitHub windows-2019 runners have unsupported WinSDK version
runs-on: windows-2022
Expand Down Expand Up @@ -201,6 +205,12 @@ jobs:
name: skymp5-client-js (${{ matrix.DESCRIPTION }})
path: ${{github.workspace}}/build/dist/client/Data/Platform/Plugins/skymp5-client.js

- uses: actions/upload-artifact@v4
if: ${{ !matrix.ONLY_PUSH || github.event_name == 'push' }}
with:
name: ${{ matrix.SERVER_DIST_ARTIFACT_NAME }}
path: ${{github.workspace}}/build/dist/server

- uses: actions/upload-artifact@v4
if: ${{ !matrix.ONLY_PUSH || github.event_name == 'push' }}
with:
Expand Down

0 comments on commit 009774d

Please sign in to comment.