Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteninja authored Aug 5, 2023
1 parent b6d9e5e commit 6af5f37
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: MSBuild
env:
NUKE_TELEMETRY_OPTOUT: 1
name: continuous

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release

permissions:
contents: read

jobs:
build:
continuous:
name: Run
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
BaseImage: [windows-latest]
Configuration: [Release]
Arch: [x86, x64]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,6 +34,15 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Build
- name: Build x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
run: msbuild /m /p:Configuration=${{matrix.Configuration}} /p:Platform=${{matrix.Arch}} .

- name: Copy x64 Artifacts
run: |
mkdir final
copy D:\a\socksme\socksme\Builds\${{matrix.Configuration}}\${{matrix.Arch}}\ntfstool*.exe final
- uses: actions/upload-artifact@v1
with:
name: build-${{matrix.Configuration}}-${{matrix.Arch}}
path: final

0 comments on commit 6af5f37

Please sign in to comment.