Repository navigation
Publish Testing #271
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2025 Pieter-Jan Briers | |
| # SPDX-FileCopyrightText: 2025 sleepyyapril | |
| # | |
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| name: Publish Testing | |
| concurrency: | |
| group: publish-testing | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 10 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3.6.0 | |
| with: | |
| submodules: 'recursive' | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v3.2.0 | |
| with: | |
| dotnet-version: 9.0.x | |
| - name: Get Engine Tag | |
| run: | | |
| cd RobustToolbox | |
| git fetch --depth=1 | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - 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 client | |
| run: dotnet run --project Content.Packaging client --no-wipe-release | |
| - name: Publish version | |
| run: python3 Tools/publish_multi_request_new.py --fork-id theden | |
| env: | |
| PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} | |
| GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} |