diff --git a/.github/workflows/dotnet.yml b/.github/workflows/build.yml similarity index 58% rename from .github/workflows/dotnet.yml rename to .github/workflows/build.yml index 7274c53..a797596 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/build.yml @@ -1,16 +1,23 @@ -name: .NET Build +name: Build on: - push: - branches: [ main ] pull_request: - branches: [ main ] jobs: - build: + test-files: + name: Test Files + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Test Files + run: dotnet test CSAUSBTool.CrossPlatform.Tests/CSAUSBTool.CrossPlatform.Tests.csproj + build-desktop: + needs: + - test-files + name: Desktop App runs-on: ubuntu-latest env: - NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages steps: - uses: actions/checkout@v4 - name: Setup .NET Core diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d9c039a Binary files /dev/null and b/.github/workflows/release.yml differ diff --git a/CSAUSBTool.sln b/CSAUSBTool.sln index 5b559d4..acaab16 100644 --- a/CSAUSBTool.sln +++ b/CSAUSBTool.sln @@ -9,7 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution 2019Password.txt = 2019Password.txt 2020Password.txt = 2020Password.txt 2022Password.txt = 2022Password.txt - .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + .github\workflows\build.yml = .github\workflows\build.yml Lists\FRC2024.json = Lists\FRC2024.json Lists\FRC2025.json = Lists\FRC2025.json FRCSoftware2017.csv = FRCSoftware2017.csv @@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution FTCSoftware2020.csv = FTCSoftware2020.csv FTCSoftware2023.csv = FTCSoftware2023.csv README.md = README.md + .github\workflows\release.yml = .github\workflows\release.yml Years.txt = Years.txt EndProjectSection EndProject