0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:10:45 -05:00

Revert "Update build.yaml and Dockerfile.node"

This reverts commit 36f871d5a8e3c03feafa0e0a09ec5c620783b183.
This commit is contained in:
Refringe 2024-03-05 22:28:59 -05:00
parent 36f871d5a8
commit a4d042b85d
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 8 additions and 28 deletions

View File

@ -40,7 +40,7 @@ jobs:
if: needs.check-tag-exists.outputs.proceed == 'true'
runs-on: ubuntu-latest
container:
image: refringe/spt-build-server:0.0.4
image: refringe/spt-build-server:0.0.3
steps:
- name: Clone
run: |
@ -121,17 +121,11 @@ jobs:
tree -C /workspace/refringe/Build/server/project/build
shell: bash
- 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
- name: Archive Build
uses: actions/upload-artifact@v3
with:
name: server-build
path: /workspace/refringe/Build/server/project/server-build.7z
path: /workspace/refringe/Build/server/project/build/
overwrite: true
build-modules:
@ -211,20 +205,13 @@ jobs:
tree /workspace/refringe/Build/modules/project/Build
shell: bash
- 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
- name: Archive Build
uses: actions/upload-artifact@v3
with:
name: modules-build
path: /workspace/refringe/Build/modules/project/modules-build.7z
path: /workspace/refringe/Build/modules/project/Build
overwrite: true
build-launcher:
needs: check-tag-exists
if: needs.check-tag-exists.outputs.proceed == 'true'
@ -245,15 +232,9 @@ jobs:
tree /workspace/refringe/Build/launcher/project/Build
shell: bash
- 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
- name: Archive Build
uses: actions/upload-artifact@v3
with:
name: launcher-build
path: /workspace/refringe/Build/launcher/project/launcher-build.7z
path: /workspace/refringe/Build/launcher/project/Build
overwrite: true

View File

@ -5,9 +5,8 @@ FROM node:20.10.0
# - git (duh)
# - git-lfs (duh)
# - zstd (caching action dependancy)
# - p7zip-full (creating archives)
# - tree (pretty print build directory structure)
RUN apt-get update && \
apt-get install -y git git-lfs zstd p7zip-full tree && \
apt-get install -y git git-lfs zstd tree && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*