-
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.
* Update publish-lostparadise.yml * Update publish-lostparadise.yml * Update publish_multi_request.py
- Loading branch information
Showing
2 changed files
with
16 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
uses: actions/[email protected] | ||
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 }} |
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