name: Linux on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: strategy: matrix: configuration: [Release] runs-on: ubuntu-latest env: Solution_Name: SwitchGiftDataManager.sln steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install .NET Core uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - name: Install dependencies run: dotnet restore - name: Build run: dotnet build SwitchGiftDataManager.CommandLine/SwitchGiftDataManager.CommandLine.csproj --configuration Release --no-restore - name: Test run: dotnet test SwitchGiftDataManager.CommandLine/SwitchGiftDataManager.CommandLine.csproj --no-restore --verbosity normal - name: Upload Linux CommandLine build artifacts uses: actions/upload-artifact@v4 with: name: Linux.CommandLine.App path: SwitchGiftDataManager.CommandLine/bin