diff --git a/.github/workflows/publish-lostparadise.yml b/.github/workflows/publish-lostparadise.yml index f9d6777bd8..e5c3c37edc 100644 --- a/.github/workflows/publish-lostparadise.yml +++ b/.github/workflows/publish-lostparadise.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v3.6.0 with: submodules: 'recursive' @@ -24,8 +24,13 @@ jobs: mv Secrets/_PrivateServer Content.Server/_PrivateServer mv Secrets/_PrivateClient Content.Client/_PrivateClient + - name: Install dependencies + run: sudo apt-get install -y python3-paramiko python3-lxml + - name: Setup .NET Core - uses: actions/setup-dotnet@v4.0.0 + uses: actions/setup-dotnet@v3.2.0 + with: + dotnet-version: 8.0.x - name: Get Engine Tag run: | @@ -39,29 +44,19 @@ jobs: run: dotnet build Content.Packaging --configuration Release --no-restore /m - name: Package server - run: dotnet run --project Content.Packaging server --platform linux-x64 --platform win-x64 + run: dotnet run --project Content.Packaging server --platform win-x64 --platform linux-x64 - name: Package client run: dotnet run --project Content.Packaging client --no-wipe-release - - name: Upload build artifact - id: artifact-upload-step - uses: actions/upload-artifact@v4 - with: - name: build - path: release/*.zip - compression-level: 0 - retention-days: 0 - - name: Publish version - run: Tools/publish_github_artifact.py + run: Tools/publish_multi_request.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 }} - - uses: geekyeggo/delete-artifact@v5 - if: always() - with: - name: build + - name: Publish changelog (Discord) + run: Tools/actions_changelogs_since_last_run.py + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }} diff --git a/Tools/publish_multi_request.py b/Tools/publish_multi_request.py index 131d1f7f76..5329aa99e3 100755 --- a/Tools/publish_multi_request.py +++ b/Tools/publish_multi_request.py @@ -14,8 +14,8 @@ # CONFIGURATION PARAMETERS # Forks should change these to publish to their own infrastructure. # -ROBUST_CDN_URL = "https://cdn.simplestation.org/" -FORK_ID = "einstein-engines" +ROBUST_CDN_URL = "https://wiki.lost-paradise.space/cdn/" +FORK_ID = "LPP" def main(): session = requests.Session()