-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14d7331
Showing
17 changed files
with
734 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CufferOnlyUncuff", "CufferOnlyUncuff\CufferOnlyUncuff\CufferOnlyUncuff.csproj", "{E59BB70A-5F55-46C9-9CC4-D7FB8358AAA7}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{E59BB70A-5F55-46C9-9CC4-D7FB8358AAA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E59BB70A-5F55-46C9-9CC4-D7FB8358AAA7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E59BB70A-5F55-46C9-9CC4-D7FB8358AAA7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E59BB70A-5F55-46C9-9CC4-D7FB8358AAA7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: CufferOnlyUncuff CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Download 7zip | ||
uses: carlosperate/[email protected] | ||
with: | ||
file-url: 'https://www.exiled.host/7za.exe' | ||
file-name: '7zip.exe' | ||
|
||
- name: Download references | ||
uses: carlosperate/[email protected] | ||
with: | ||
file-url: 'https://www.exiled.host/build_deps/Dev.zip' | ||
file-name: 'References.zip' | ||
|
||
- name: Extract Refs | ||
run: ./7zip.exe e References.zip -oReferences -r -y | ||
|
||
- name: Restore project | ||
run: dotnet restore -p:Configuration=Release | ||
|
||
- name: Build project | ||
shell: pwsh | ||
run: | | ||
if ('${{ GITHUB.REF }}' -Match 'dev$') { | ||
dotnet build -p:DeployToServer=false -p:Configuration=Release -p:BuildNumber=${{ GITHUB.RUN_NUMBER }} | ||
} else { | ||
dotnet build -p:DeployToServer=false -p:Configuration=Release | ||
} | ||
env: | ||
EXILED_REFERENCES: ${{ github.workspace }}/References | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Build Results | ||
path: CufferOnlyUncuff/bin/Release |
Oops, something went wrong.