Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on: [push]

jobs:
build:
runs-on: windows-latest
steps:
- name: Clone main repository
uses: actions/checkout@v2

- name: Clone nuget dependencies repository
uses: actions/checkout@v2
with:
# this repository contains the following `.nupkg` files:
# - BCMakeCert.2.0.9.nupkg
# - FiddlerCore.Trial.5.0.0.nupkg
# - Telerik.NetworkConnections.0.2.0.nupkg
repository: FailedShack/usbhelperlauncher-deps
path: usbhelperlauncher-deps
ssh-key: ${{ secrets.usbhelperlauncher_deps_deploy_key }}

- name: Set up MSBuild
uses: microsoft/setup-msbuild@v1
- name: Set up NuGet
uses: nuget/setup-nuget@v1
- name: Add local NuGet repository
run: nuget sources add -name local -source "$(pwd)\usbhelperlauncher-deps"
- name: Install dependencies
run: nuget restore USBHelperLauncher.sln

- name: Build Solution
run: msbuild USBHelperLauncher.sln -p:Configuration=Release -p:DebugType=none -p:DebugSymbols=false -p:AllowedReferenceRelatedFileExtensions=none

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: USBHelperLauncher
path: USBHelperLauncher\bin\Release
3 changes: 2 additions & 1 deletion USBHelperLauncher/USBHelperLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@
<None Include="emulators\meta.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Content Include="BasicFormatsForCore.dll">
<Content Include="..\packages\FiddlerCore.Trial.5.0.0\contentFiles\any\net45\BasicFormatsForCore.dll">
<Link>BasicFormatsForCore.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Icon.ico" />
Expand Down