AGHSEagleRobotics / frc1388-2022

FRC 2022 - Rapid React
2 stars 0 forks source link

Create Basic CI Workflow #9

Open scottbot95 opened 2 years ago

scottbot95 commented 2 years ago

User Story

As a developer, I want to tests to run automatically on push and to be able to pull builds from previous commits.

Requirements

scottbot95 commented 2 years ago

Basic workflow created. I forgot to specify upload artifacts though so the build artifacts are not actually available. Turns out there's a 90 day limit on artifact retention anyway.

The goal of this task was to make builds available for future years so we can easily re-deploy old code if we need to. That probably then means that we need to setup the CI to create releases on pushed tags which we can then upload artifacts to. GitHub does not have a retention limit on releases so this will preserve build artifacts for future years.