publish-testing.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. name: Publish Testing
  2. concurrency:
  3. group: publish-testing
  4. on:
  5. workflow_dispatch:
  6. schedule:
  7. - cron: '0 10 * * *'
  8. jobs:
  9. build:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v3.6.0
  13. with:
  14. submodules: 'recursive'
  15. - name: Setup .NET Core
  16. uses: actions/setup-dotnet@v3.2.0
  17. with:
  18. dotnet-version: 9.0.x
  19. - name: Get Engine Tag
  20. run: |
  21. cd RobustToolbox
  22. git fetch --depth=1
  23. - name: Install dependencies
  24. run: dotnet restore
  25. - name: Build Packaging
  26. run: dotnet build Content.Packaging --configuration Release --no-restore /m
  27. - name: Package server
  28. run: dotnet run --project Content.Packaging server --platform win-x64 --platform linux-x64 --platform osx-x64 --platform linux-arm64
  29. - name: Package client
  30. run: dotnet run --project Content.Packaging client --no-wipe-release
  31. - name: Publish version
  32. run: Tools/publish_multi_request.py --fork-id wizards-testing
  33. env:
  34. PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
  35. GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}