feat: add query method to get a build by number #7
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: publish | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "git / checkout" | |
| uses: actions/checkout@v5 | |
| - name: "docker / login" | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: "java / setup" | |
| uses: actions/setup-java@v5 | |
| with: | |
| check-latest: true | |
| distribution: zulu | |
| java-version: 23 | |
| - name: "gradle / setup" | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: "gradle / build" | |
| run: ./gradlew jib -Djib.console=plain --stacktrace |