Skip to content

Commit

Permalink
Modify release workflow to publish a TS Steam build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Mar 10, 2024
1 parent 42dcfc9 commit 7bd2c70
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- 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:
Expand Down Expand Up @@ -52,10 +52,10 @@ jobs:
- 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:
Expand All @@ -66,3 +66,32 @@ jobs:
asset_name: WorldAlteringEditor_YurisRevenge.zip
asset_content_type: application/zip

release-steamts:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3.1.0
with:
ref: steamts

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3.0.3
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

0 comments on commit 7bd2c70

Please sign in to comment.