diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f8bf977 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: learn-github-actions +run-name: ${{ github.actor }} is learning GitHub Actions +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 17 for x64 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + architecture: x64 + cache: maven + + - name: mvn build package + run: mvn build package + + - run: mkdir staging && cp target/*.jar staging + - uses: actions/upload-artifact@v3 + with: + name: Package + path: staging diff --git a/TODO.md b/TODO.md index 50c63b3..e8250f6 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ - local maxmind - account for real sun movement, not just time -- gh actions - readd metrics - fix realtime - cache cleaning