Add support for World of Warcraft Classic Era (for hardcore and *true… #63
Workflow file for this run
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: Build bnetlauncher | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup MSBuild Path | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1 | |
- name: Restore NuGet Packages | |
run: nuget restore bnetlauncher.sln | |
- name: Build and Publish | |
run: msbuild bnetlauncher.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile | |
- name: Copy files for release | |
run: | | |
copy bnetlauncher\Resources\gamesdb.ini gamesdb.ini.example | |
copy bnetlauncher\bin\Release\ILMerge\bnetlauncher.exe bnetlauncher.exe | |
# - name: Determine Version | |
# run: | | |
# $r = Get-Content .\bnetlauncher\Properties\AssemblyInfo.cs | Select-String -Pattern 'AssemblyVersion\("(?<version>.*)\.\*' | |
# Write-Host "version=$($r.Matches.Groups.Value)" >> $env:GITHUB_ENV | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: "bnetlauncher" | |
path: | | |
bnetlauncher.exe | |
README.md | |
changelog.txt | |
license.txt | |
gamesdb.ini.example |