Skip to content

Added cache step to the build GitHub Actions workflow for NuGet pac… #7

Added cache step to the build GitHub Actions workflow for NuGet pac…

Added cache step to the build GitHub Actions workflow for NuGet pac… #7

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ./Everybody-Edits-CTF/packages/
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }}
restore-keys: ${{ runner.os }}-nuget-
- name: Setup Microsoft Build Engine
uses: microsoft/[email protected]
- name: Build Everybody Edits CTF .NET Framework Binary
run: |
msbuild ./Everybody-Edits-CTF/Everybody-Edits-CTF.sln /t:"Restore;Build" /p:RestorePackagesConfig=True /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release"