mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 22:30:45 -05:00
Update build.yaml and Dockerfile.node
This commit is contained in:
parent
34e95b090d
commit
36f871d5a8
@ -40,7 +40,7 @@ jobs:
|
|||||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: refringe/spt-build-server:0.0.3
|
image: refringe/spt-build-server:0.0.4
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
@ -121,11 +121,17 @@ jobs:
|
|||||||
tree -C /workspace/refringe/Build/server/project/build
|
tree -C /workspace/refringe/Build/server/project/build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Archive Build
|
- name: Compress Server Build Folder
|
||||||
|
run: |
|
||||||
|
cd /workspace/refringe/Build/server/project/build
|
||||||
|
7z a -mx=9 -m0=lzma2 ../server-build.7z ./*
|
||||||
|
echo "Server build folder compressed."
|
||||||
|
|
||||||
|
- name: Archive Server Build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: server-build
|
name: server-build
|
||||||
path: /workspace/refringe/Build/server/project/build/
|
path: /workspace/refringe/Build/server/project/server-build.7z
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
build-modules:
|
build-modules:
|
||||||
@ -205,13 +211,20 @@ jobs:
|
|||||||
tree /workspace/refringe/Build/modules/project/Build
|
tree /workspace/refringe/Build/modules/project/Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Archive Build
|
- name: Compress Modules Build Folder
|
||||||
|
run: |
|
||||||
|
cd /workspace/refringe/Build/modules/project/Build
|
||||||
|
7z a -mx=9 -m0=lzma2 ../modules-build.7z ./*
|
||||||
|
echo "Modules build folder compressed."
|
||||||
|
|
||||||
|
- name: Archive Modules Build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: modules-build
|
name: modules-build
|
||||||
path: /workspace/refringe/Build/modules/project/Build
|
path: /workspace/refringe/Build/modules/project/modules-build.7z
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
||||||
build-launcher:
|
build-launcher:
|
||||||
needs: check-tag-exists
|
needs: check-tag-exists
|
||||||
if: needs.check-tag-exists.outputs.proceed == 'true'
|
if: needs.check-tag-exists.outputs.proceed == 'true'
|
||||||
@ -232,9 +245,15 @@ jobs:
|
|||||||
tree /workspace/refringe/Build/launcher/project/Build
|
tree /workspace/refringe/Build/launcher/project/Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Archive Build
|
- name: Compress Launcher Build Folder
|
||||||
|
run: |
|
||||||
|
cd /workspace/refringe/Build/launcher/project/Build
|
||||||
|
7z a -mx=9 -m0=lzma2 ../launcher-build.7z ./*
|
||||||
|
echo "Launcher build folder compressed."
|
||||||
|
|
||||||
|
- name: Archive Launcher Build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: launcher-build
|
name: launcher-build
|
||||||
path: /workspace/refringe/Build/launcher/project/Build
|
path: /workspace/refringe/Build/launcher/project/launcher-build.7z
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
@ -5,8 +5,9 @@ FROM node:20.10.0
|
|||||||
# - git (duh)
|
# - git (duh)
|
||||||
# - git-lfs (duh)
|
# - git-lfs (duh)
|
||||||
# - zstd (caching action dependancy)
|
# - zstd (caching action dependancy)
|
||||||
|
# - p7zip-full (creating archives)
|
||||||
# - tree (pretty print build directory structure)
|
# - tree (pretty print build directory structure)
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y git git-lfs zstd tree && \
|
apt-get install -y git git-lfs zstd p7zip-full tree && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user