Skip to content

Workflow file for this run

name: Publish compiled binaries in release
on:
release:
types: [published]
jobs:
release-tsclient:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
with:
ref: tsclient
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: '8.x.x'
- name: Build Editor
run: ./build.ps1
shell: pwsh
- name: Pack compiled binaries
run: 7z a -tzip -r WorldAlteringEditor_TSClient.zip "D:\a\WorldAlteringEditor\WorldAlteringEditor\Build\*.*"
- name: Upload compiled binaries
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: 'WorldAlteringEditor_TSClient.zip'
asset_name: WorldAlteringEditor_TSClient.zip
asset_content_type: application/zip
release-yr:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
with:
ref: yr
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: '8.x.x'
- name: Build Editor
run: ./build.ps1
shell: pwsh
- name: Pack compiled binaries
run: 7z a -tzip -r WorldAlteringEditor_YurisRevenge.zip "D:\a\WorldAlteringEditor\WorldAlteringEditor\Build\*.*"
- name: Upload compiled binaries
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: 'WorldAlteringEditor_YurisRevenge.zip'
asset_name: WorldAlteringEditor_YurisRevenge.zip
asset_content_type: application/zip
release-steamts:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
with:
ref: steamts
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: '8.x.x'
- name: Build Editor
run: ./build.ps1
shell: pwsh
- name: Pack compiled binaries
run: 7z a -tzip -r WorldAlteringEditor_TS_Steam.zip "D:\a\WorldAlteringEditor\WorldAlteringEditor\Build\*.*"
- name: Upload compiled binaries
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: 'WorldAlteringEditor_TS_Steam.zip'
asset_name: WorldAlteringEditor_TS_Steam.zip
asset_content_type: application/zip