-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (47 loc) · 1.36 KB
/
ci.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
name: ci
on:
push:
tags:
- 'v*'
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
platform: [x64, x86]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.3
- name: Build Solution
run: msbuild "-p:Configuration=${{ matrix.configuration }};Platform=${{ matrix.platform }}" rbxfpsunlocker.sln
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: rbxfpsunlocker (${{ matrix.configuration }}, ${{ matrix.platform }})
path: ${{ matrix.platform == 'x86' && '.' || matrix.platform }}\${{ matrix.configuration }}\*
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download release binary (x64)
uses: actions/download-artifact@v3
with:
name: rbxfpsunlocker (Release, x64)
path: x64
- name: Zip binaries
run: zip -9 ../rbxfpsunlocker-x64.zip rbxfpsunlocker.exe
working-directory: ./x64
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: rbxfpsunlocker-x64.zip
name: Roblox FPS Unlocker ${{ github.ref_name }}