mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 02:30:45 -05:00
Update build.yaml and Dockerfile.node
This commit is contained in:
parent
7c1b2e521d
commit
83e5a2ba2d
@ -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.2
|
image: refringe/spt-build-server:0.0.3
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
@ -117,7 +117,7 @@ jobs:
|
|||||||
BUILD_TYPE="${{ steps.build-type.outputs.build_type }}"
|
BUILD_TYPE="${{ steps.build-type.outputs.build_type }}"
|
||||||
echo "Running build for $BUILD_TYPE"
|
echo "Running build for $BUILD_TYPE"
|
||||||
npm run build:$BUILD_TYPE
|
npm run build:$BUILD_TYPE
|
||||||
echo "\nBuilt!\n"
|
printf "\nBuilt!\n\n"
|
||||||
tree -C /workspace/refringe/Build/server/project/build
|
tree -C /workspace/refringe/Build/server/project/build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@ -201,7 +201,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd /workspace/refringe/Build/modules/project
|
cd /workspace/refringe/Build/modules/project
|
||||||
dotnet build
|
dotnet build
|
||||||
echo "\nBuilt!\n"
|
printf "\nBuilt!\n\n"
|
||||||
tree /workspace/refringe/Build/modules/project/Build
|
tree /workspace/refringe/Build/modules/project/Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ FROM node:20.10.0
|
|||||||
# - zstd (caching action dependancy)
|
# - zstd (caching action dependancy)
|
||||||
# - 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 && \
|
apt-get install -y git git-lfs zstd 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