chore: add MIT license file and update README reference #17
This file contains hidden or 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
| name: Build & Test | |
| on: | |
| push: | |
| branches: [ main, main-java8, develop, develop-java8 ] | |
| pull_request: | |
| branches: [ main, main-java8, develop, develop-java8 ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Build JAR | |
| run: bash scripts/build.sh | |
| - name: Run tests | |
| run: bash scripts/test.sh | |
| - name: Upload JAR artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: spain-reverse-geocoder | |
| path: build/spain-reverse-geocoder.jar | |
| retention-days: 30 |