-
Notifications
You must be signed in to change notification settings - Fork 24
97 lines (77 loc) · 2.54 KB
/
release_publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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