Use Linux assembly script

This commit is contained in:
Kae 2024-03-17 22:30:29 +11:00
parent faae6e715a
commit 4fb380411f
2 changed files with 22 additions and 2 deletions

View File

@ -49,8 +49,24 @@ jobs:
buildPreset: 'linux-release' buildPreset: 'linux-release'
testPreset: 'linux-release' testPreset: 'linux-release'
- name: Assemble Files
working-directory: ${{ github.workspace }}
run: scripts/ci/linux/assemble.sh
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: OpenStarbound-Dev-Linux-x86_64 name: OpenStarbound-Linux
path: dist/* path: dist.tar
- name: Upload Client Files
uses: actions/upload-artifact@v4
with:
name: OpenStarbound-Linux-Client
path: client.tar
- name: Upload Server Files
uses: actions/upload-artifact@v4
with:
name: OpenStarbound-Linux-Server
path: server.tar

View File

@ -41,3 +41,7 @@ cp \
scripts/ci/linux/run-server.sh \ scripts/ci/linux/run-server.sh \
scripts/ci/linux/sbinit.config \ scripts/ci/linux/sbinit.config \
server_distribution/linux/ server_distribution/linux/
tar -cvf dist.tar dist
tar -cvf client.tar client_distribution
tar -cvf server.tar server_distribution