This repository has been archived by the owner on Dec 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'win32-master' of https://github.com/rounk-ctrl/Winver i…
…nto win32-master
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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,43 @@ | ||
name: Winver | ||
|
||
on: | ||
push: | ||
branches: [ "win32-master" ] | ||
pull_request: | ||
branches: [ "win32-master" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
configuration: [Release] | ||
platform: [x64] | ||
runs-on: windows-latest | ||
env: | ||
SOLUTION_FILE_PATH: . | ||
RELEASE_DIR: ${{ matrix.configuration }} | ||
EXE_NAME: Winver-${{ matrix.platform }}.exe | ||
BEXE_NAME: Winver-${{ matrix.platform }} | ||
ARCH: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/setup-msbuild@v1.1 | ||
|
||
- name: Build | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
# Add additional options to the MSBuild command line here (like platform or verbosity level). | ||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | ||
run: msbuild /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} /p:ReleaseDirectory=..\$env:RELEASE_DIR /p:TargetName=${{ env.BEXE_NAME }} ${{env.SOLUTION_FILE_PATH}} | ||
- name: Upload x64 | ||
uses: actions/upload-artifact@v3.0.0 | ||
with: | ||
# Artifact name | ||
name: ${{ env.EXE_NAME }} | ||
# A file, directory or wildcard pattern that describes what to upload (ik its shit) | ||
path: x64\Release\Winver-x64.exe |
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