Changed how line endings are handled in import and export #22
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: Windows Build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
# Path to the solution file relative to the root of the project. | |
SOLUTION_FILE_PATH: .\DALTools\DALTools.sln | |
jobs: | |
build: | |
name: ${{matrix.configuration}} | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1.3.1 | |
- name: Restore NuGet Packages | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: nuget restore ${{env.SOLUTION_FILE_PATH}} | |
- 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}} ${{env.SOLUTION_FILE_PATH}} | |
- name: Prepare Artifacts | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: | | |
mkdir .\Artifacts | |
copy .\DALTools\DALLib\bin\${{matrix.configuration}}\DALLib.dll .\Artifacts | |
copy .\DALTools\PCKTool\bin\${{matrix.configuration}}\PCKTool.exe .\Artifacts | |
copy .\DALTools\STSCTool\bin\${{matrix.configuration}}\STSCTool.exe .\Artifacts | |
copy .\DALTools\TEXTool\bin\${{matrix.configuration}}\TEXTool.exe .\Artifacts | |
copy .\DALTools\FontEditor\bin\${{matrix.configuration}}\FontEditor.exe .\Artifacts | |
copy .\DALTools\ScriptDatabaseEditor\bin\${{matrix.configuration}}\ScriptDatabaseEditor.exe .\Artifacts | |
copy .\DALTools\ScriptDialogueEditor\bin\${{matrix.configuration}}\ScriptDialogueEditor.exe .\Artifacts | |
copy .\DALTools\TableEditor\bin\${{matrix.configuration}}\TableEditor.exe .\Artifacts | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3.1.3 | |
with: | |
name: DALTools-${{matrix.configuration}} | |
path: .\Artifacts |