-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Lost-Paradise-Project:master' into master
- Loading branch information
Showing
572 changed files
with
118,927 additions
and
10,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,14 @@ jobs: | |
- name: Download parts | ||
run: | | ||
git clone ${{ secrets.HUB_SEC_TOKEN }} | ||
mv Secrets/_PrivateResources/* Resources/ | ||
mv Secrets/_PrivateResources/_Private Resources/Prototypes/ | ||
mv Secrets/_PrivateResources/PERSONAL Resources/Textures/ | ||
mv Secrets/_PrivateShared Content.Shared/_PrivateShared | ||
mv Secrets/_PrivateServer Content.Server/_PrivateServer | ||
mv Secrets/_PrivateClient Content.Client/_PrivateClient | ||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Get Engine Tag | ||
run: | | ||
|
@@ -40,29 +39,29 @@ jobs: | |
run: dotnet build Content.Packaging --configuration Release --no-restore /m | ||
|
||
- name: Package server | ||
run: dotnet run --project Content.Packaging server --platform linux-x64 --hybrid-acz | ||
run: dotnet run --project Content.Packaging server --platform linux-x64 | ||
|
||
- name: Shuffle files around | ||
run: | | ||
mkdir "release/${{ github.sha }}" | ||
mv release/*.zip "release/${{ github.sha }}" | ||
- name: Package client | ||
run: dotnet run --project Content.Packaging client --no-wipe-release | ||
|
||
- name: Upload files to centcomm | ||
uses: appleboy/scp-action@master | ||
- name: Upload build artifact | ||
id: artifact-upload-step | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
key: ${{ secrets.SSH }} | ||
port: ${{ secrets.PORT }} | ||
source: "release/${{ github.sha }}" | ||
target: "/var/www/wiki/builds_dir/builds/" | ||
strip_components: 1 | ||
name: build | ||
path: release/*.zip | ||
compression-level: 0 | ||
retention-days: 0 | ||
|
||
- name: Publish version | ||
run: Tools/publish_github_artifact.py | ||
env: | ||
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} | ||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} | ||
ARTIFACT_ID: ${{ steps.artifact-upload-step.outputs.artifact-id }} | ||
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} | ||
|
||
- name: Update manifest JSON | ||
uses: appleboy/ssh-action@master | ||
- uses: geekyeggo/delete-artifact@v5 | ||
if: always() | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
key: ${{ secrets.SSH }} | ||
port: ${{ secrets.PORT }} | ||
script: pwsh /var/www/wiki/push.ps1 ${{ github.sha }} | ||
name: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,66 @@ | ||
name: Test Packaging | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master, staging, trying ] | ||
paths: | ||
- '**.cs' | ||
- '**.csproj' | ||
- '**.sln' | ||
- '**.git**' | ||
- '**.yml' | ||
# no docs on which one of these is supposed to work, so | ||
# why not just do both | ||
- 'RobustToolbox' | ||
- 'RobustToolbox/**' | ||
merge_group: | ||
pull_request: | ||
types: [ opened, reopened, synchronize, ready_for_review ] | ||
branches: [ master ] | ||
paths: | ||
- '**.cs' | ||
- '**.csproj' | ||
- '**.sln' | ||
- '**.git**' | ||
- '**.yml' | ||
- 'RobustToolbox' | ||
- 'RobustToolbox/**' | ||
|
||
jobs: | ||
build: | ||
name: Test Packaging | ||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'DeltaV-Bot' && github.actor != 'SimpleStation14' | ||
if: github.actor != 'PJBot' && github.actor != 'PJBot' && github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Master | ||
uses: actions/[email protected] | ||
- name: Checkout Master | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Submodule | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Setup Submodule | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Pull engine updates | ||
uses: space-wizards/[email protected] | ||
- name: Pull engine updates | ||
uses: space-wizards/[email protected] | ||
|
||
- name: Update Engine Submodules | ||
run: | | ||
cd RobustToolbox/ | ||
git submodule update --init --recursive | ||
- name: Update Engine Submodules | ||
run: | | ||
cd RobustToolbox/ | ||
git submodule update --init --recursive | ||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.100 | ||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Install dependencies | ||
run: dotnet restore | ||
|
||
- name: Build Packaging | ||
run: dotnet build Content.Packaging --configuration Release --no-restore /m | ||
- name: Build Packaging | ||
run: dotnet build Content.Packaging --configuration Release --no-restore /m | ||
|
||
- name: Package server | ||
run: dotnet run --project Content.Packaging server --platform win-x64 --platform linux-x64 --platform osx-x64 --platform linux-arm64 | ||
- name: Package server | ||
run: dotnet run --project Content.Packaging server --platform win-x64 --platform linux-x64 --platform osx-x64 --platform linux-arm64 | ||
|
||
- name: Package client | ||
run: dotnet run --project Content.Packaging client --no-wipe-release | ||
|
||
- name: Update Build Info | ||
run: Tools/gen_build_info.py | ||
|
||
- name: Shuffle files around | ||
run: | | ||
mkdir "release/${{ github.sha }}" | ||
mv release/*.zip "release/${{ github.sha }}" | ||
- name: Package client | ||
run: dotnet run --project Content.Packaging client --no-wipe-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.