Skip to content

Commit

Permalink
gh test
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Apr 13, 2022
1 parent e8cf00f commit 624b4a7
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ env:
jobs:
build:
runs-on: windows-latest

steps:

- name: Set the value
Expand All @@ -24,20 +23,17 @@ jobs:
lfs: true
submodules: true

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
with:
vs-prerelease: true
msbuild-architecture: x86

- name: Setup NuGet
uses: NuGet/setup-nuget@v1

- name: Add nuget private repo
run: nuget add source --username ${{ secrets.GITHUB_USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/colhountech/index.json"

- name: Restore NuGet Packages
run: nuget restore src/SourceSDK.ENV.Editor.sln
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
include-prerelease: true
source-url: https://nuget.pkg.github.com/colhountech/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Restore NuGet Packages
run: dotnet restore src/SourceSDK.ENV.Editor.csproj

- name: Build Debug
run: msbuild src/SourceSDK.ENV.Editor.sln /p:Configuration=Debug
run: dotnet build src/SourceSDK.ENV.Editor.sln --configuration Debug --force --no-incremental --nologo

0 comments on commit 624b4a7

Please sign in to comment.