0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-13 09:50:45 -05:00

Refactored build workflow to assemble release artifacts

This commit is contained in:
Refringe 2024-03-06 13:19:23 -05:00
parent 3f9e9d66ee
commit 6d45ce2a73
No known key found for this signature in database
GPG Key ID: DA8524051241DD36

View File

@ -239,32 +239,40 @@ jobs:
path: /workspace/refringe/Build/launcher/project/Build
overwrite: true
extract-and-combine:
assemble-release:
needs: [build-server, build-modules, build-launcher]
runs-on: ubuntu-latest
container:
image: refringe/spt-build-server:0.0.4
steps:
- name: Create combined build directory
run: mkdir -p /workspace/refringe/Build/combined-build
- name: Create Directory
run: mkdir -p /workspace/refringe/Build/assembled
- name: Download Server Build Archive
- name: Download Server Build Artifact
uses: actions/download-artifact@v3
with:
name: server-build
path: /workspace/refringe/Build/combined-build/
path: /workspace/refringe/Build/assembled/
- name: Download Modules Build Archive
- name: Download Modules Build Artifact
uses: actions/download-artifact@v3
with:
name: modules-build
path: /workspace/refringe/Build/combined-build/
path: /workspace/refringe/Build/assembled/
- name: Download Launcher Build Archive
- name: Download Launcher Build Artifact
uses: actions/download-artifact@v3
with:
name: launcher-build
path: /workspace/refringe/Build/combined-build/
path: /workspace/refringe/Build/assembled/
- name: List combined-build directory contents
run: tree /workspace/refringe/Build/combined-build
- name: Clone Build Project
uses: actions/checkout@v3
with:
path: /workspace/refringe/Build/build
- name: List Directory Contents
run: |
/workspace/refringe/Build/build
/workspace/refringe/Build/assembled
shell: bash