Bump actions/upload-artifact from 3.1.0 to 4.3.2 #420
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
# *********************************************************** | |
# * TakymLib * | |
# * Copyright (C) 2020-2022 Yigty.ORG; all rights reserved. * | |
# * Copyright (C) 2020-2022 Takym. * | |
# * * | |
# * distributed under the MIT License. * | |
# *********************************************************** | |
name: "BuildTest" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
BuildTest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ windows-latest, ubuntu-latest, macos-latest ] | |
bc: [ Debug, Release ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
# Build | |
- name: BuildW | |
if: matrix.os == 'windows-latest' | |
run: dotnet build -c ${{ matrix.bc }}W | |
- name: Build | |
if: matrix.os != 'windows-latest' | |
run: dotnet build -c ${{ matrix.bc }} | |
# Test | |
- name: TestW | |
if: matrix.os == 'windows-latest' | |
run: dotnet test -c ${{ matrix.bc }}W --no-build --verbosity normal | |
- name: Test | |
if: matrix.os != 'windows-latest' | |
run: dotnet test -c ${{ matrix.bc }} --no-build --verbosity normal |