-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (32 loc) · 1.09 KB
/
Copy pathrelease.yml
File metadata and controls
39 lines (32 loc) · 1.09 KB
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
name: release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE }}
run: msbuild /m /p:Configuration=Release /p:Platform=x86 /t:tem`;launcher`;proxy`;unlocker
- name: Create archive
run: |
7z a tem-${{ github.ref_name }}.zip `
./bin/Release/tem/*.dll `
./bin/Release/launcher/*.exe `
./bin/Release/proxy/*.dll `
./bin/Release/unlocker/*.exe `
./patch.dat
- name: Create release
uses: softprops/action-gh-release@v1
with:
name: TEM ${{ github.ref_name }}
body: |
[READ requirements first](https://tem.nekz.me/getting-started.html)
[Download tem-${{ github.ref_name }}.zip](https://github.com/NeKzor/tem/releases/download/${{ github.ref_name }}/tem-${{ github.ref_name }}.zip)
files: tem-${{ github.ref_name }}.zip
prerelease: ${{ contains(github.ref, 'pre') }}