mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 17:10:45 -05:00
Update build.yaml and Dockerfile.node
This commit is contained in:
parent
a7db8e78b9
commit
5634599a5a
@ -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.5
|
||||
steps:
|
||||
- name: Clone
|
||||
run: |
|
||||
@ -243,7 +243,7 @@ jobs:
|
||||
needs: [build-server, build-modules, build-launcher]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: refringe/spt-build-server:0.0.4
|
||||
image: refringe/spt-build-server:0.0.5
|
||||
steps:
|
||||
- name: Create Directory
|
||||
run: mkdir -p /workspace/refringe/Build/release
|
||||
@ -288,3 +288,14 @@ jobs:
|
||||
- name: List Release File
|
||||
run: |
|
||||
ls -la /workspace/refringe/Build/release.7z
|
||||
|
||||
- name: Upload Release
|
||||
run: |
|
||||
mega-login $MEGA_EMAIL $MEGA_PASSWORD
|
||||
mega-whoami
|
||||
# Name needs to be updated.
|
||||
mega-put /workspace/refringe/Build/release.7z /spt-release/SPT-3.8.0-28965.7z
|
||||
mega-export -a /spt/SPT-3.8.0-28965.7z --expire=14400M | awk '{print $4}'
|
||||
env:
|
||||
MEGA_EMAIL: ${{ secrets.MEGA_EMAIL }}
|
||||
MEGA_PASSWORD: ${{ secrets.MEGA_PASSWORD }}
|
||||
|
@ -4,9 +4,16 @@ FROM node:20.10.0
|
||||
# Install necessary tools and dependencies
|
||||
# - git (duh)
|
||||
# - git-lfs (duh)
|
||||
# - zstd (caching action dependancy)
|
||||
# - zstd (caching action dependency)
|
||||
# - tree (pretty print build directory structure)
|
||||
# - wget (to download megacmd)
|
||||
# - gnupg (for adding MEGA.nz repo keys)
|
||||
# - software-properties-common (adding repo)
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git git-lfs zstd tree && \
|
||||
apt-get clean && \
|
||||
apt-get install -y git git-lfs zstd tree wget gnupg software-properties-common && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install the MegaCMD client
|
||||
RUN wget https://mega.nz/linux/repo/Debian_12/amd64/megacmd-Debian_12_amd64.deb && \
|
||||
dpkg -i megacmd-Debian_12_amd64.deb || apt-get install -fy && \
|
||||
rm -f megacmd-Debian_12_amd64.deb
|
||||
|
Loading…
x
Reference in New Issue
Block a user