Add several ways for flexible configuration of RDF4J repositories. #29
This file contains 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 and deploy to Github packages | |
# Controls when the action will run. | |
on: | |
push: | |
# Sequence of patterns matched against refs/heads | |
branches: | |
- snapshots | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- v* | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
environment: sonatype | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v2 | |
# Sets up JDK | |
- name: Set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
# Runs the Maven build | |
- name: Build and deploy with Maven | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: mvn deploy -B |