bump version to 1.0.7.1 #25
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 XLCore" | |
on: | |
push: | |
branches: [cn] | |
pull_request: | |
branches: [cn] | |
workflow_dispatch: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./src/XIVLauncher.Core/ | |
concurrency: | |
group: ${{ github.head_ref }}" | |
cancel-in-progress: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Dotnet Restore | |
run: dotnet restore | |
- name: Dotnet Build (Default) | |
run: dotnet publish -r linux-x64 --sc --configuration Release --no-restore -o ./dist/XIVLauncher.Core | |
- name: Dotnet Build (Arch) | |
run: dotnet publish -r linux-x64 --sc --configuration Release -p:DefineConstants=WINE_XIV_ARCH_LINUX --no-restore -o ./dist/XIVLauncher.Core-arch | |
- name: Dotnet Build (Fedora) | |
run: dotnet publish -r linux-x64 --sc --configuration Release -p:DefineConstants=WINE_XIV_FEDORA_LINUX --no-restore -o ./dist/XIVLauncher.Core-fedora | |
- name: Dotnet Build (Windows) | |
run: dotnet publish -r win10-x64 --sc --configuration Release -o ./dist/XIVLauncher.Core-win10x64 | |
- name: Dotnet Test | |
run: dotnet test --no-build --verbosity normal |