This commit is contained in:
Vigers Ray 2025-03-29 22:54:13 +03:00
parent b53eb17388
commit 0960067e4e

View file

@ -23,43 +23,43 @@ jobs:
with:
submodules: 'recursive'
# - name: Checkout SunrisePrivate
# uses: actions/checkout@v2
# with:
# repository: ${{ secrets.SUNRISE_PRIVATE_REPO }}
# path: SunrisePrivate
# ssh-key: ${{ secrets.SUNRISE_PRIVATE_REPO_SSH_KEY }}
- name: Checkout SunrisePrivate
uses: actions/checkout@v2
with:
repository: ${{ secrets.SUNRISE_PRIVATE_REPO }}
path: SunrisePrivate
ssh-key: ${{ secrets.SUNRISE_PRIVATE_REPO_SSH_KEY }}
# - name: Move SunrisePrivate files
# run: python3 Tools/_sunrise/move_sunrise_private.py
- name: Move SunrisePrivate files
run: python3 Tools/_sunrise/move_sunrise_private.py
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v4.1.0
# with:
# dotnet-version: 9.0.x
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.1.0
with:
dotnet-version: 9.0.x
# - name: Get Engine Tag
# run: |
# cd RobustToolbox
# git fetch --depth=1
- name: Get Engine Tag
run: |
cd RobustToolbox
git fetch --depth=1
# - 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: Package client
run: dotnet run --project Content.Packaging client --no-wipe-release
# - name: Publish version
# run: Tools/publish_multi_request.py
# env:
# PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
# GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
- name: Publish version
run: Tools/publish_multi_request.py
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
- name: Publish discord changelog (SUNRISE)
run: Tools/_sunrise/actions_changelogs_since_last_run.py