Update GitHub action versions, pin to hashes #90
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
name: CI | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0 | |
# - name: Initialize CodeQL | |
# uses: github/codeql-action/init@v1 | |
# with: | |
# languages: cpp | |
- name: Cache NuGet packages | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: packages | |
key: packages-v4-${{ hashFiles('**/packages.config') }} | |
restore-keys: | | |
packages-v4- | |
- name: Restore NuGet packages | |
run: nuget restore | |
- name: Build Debug Win32 | |
run: msbuild /p:Platform=Win32 /p:Configuration=Debug PathCopyCopy.sln | |
- name: Build Debug x64 | |
run: msbuild /p:Platform=x64 /p:Configuration=Debug PathCopyCopy.sln | |
- name: Build Release Win32 | |
run: msbuild /p:Platform=Win32 /p:Configuration=Release PathCopyCopy.sln | |
- name: Build Release x64 | |
run: msbuild /p:Platform=x64 /p:Configuration=Release PathCopyCopy.sln | |
# - name: Perform CodeQL Analysis | |
# uses: github/codeql-action/analyze@v1 | |
- name: Build installer | |
run: iscc /O+ /DSIGNCODE="no" /DDEVBUILD="yes" "Installer\Setup.iss" | |
- name: Upload installer artifact | |
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | |
with: | |
name: installer | |
path: Installer/Output/ |