This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
Bump actions/checkout from 3 to 4 (#2039) #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- 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 }} |