Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

Fix adaptive cruise control #11

Fix adaptive cruise control

Fix adaptive cruise control #11

Workflow file for this run

name: MSBuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: ./Gears.sln
# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- 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=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} /p:Platform=x64 /p:PostBuildEventUseInBuild=false
- name: Copy build result to stage dir
run: |
cp Gears/bin/Gears.asi stage/Gears.asi
cp Gears/bin/Gears.pdb stage/Gears.pdb
- name: Create build artifact archive
uses: TheDoctor0/[email protected]
with:
filename: ${{ github.sha }}.zip
directory: stage/
custom: -p${{ secrets.ARCHIVE_PASSWORD }}
- name: Upload build artifact
uses: actions/[email protected]
with:
# Artifact name
name: Gears-${{ github.sha }}
path: |
stage/${{ github.sha }}.zip