Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy shacl play #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions .github/workflows/Build_ShaclPlay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:

#push:
# branches: [ "master" ]
#pull_request:
# branches: [ "master" ]
pull_request:
branches: [ "actions_shaclplay" ]

jobs:
Build_Maven:
Expand All @@ -30,22 +30,22 @@ jobs:
server-username: ${{ github.ACTOR }}
server-password: ${{ github.token }}
settings-path: ${{ github.workspace }} # location for the settings.xml file


- run: |
echo "setting File : " ${{ github.workspace }}/settings.xml

# This step generate a war file
- name: Build with Maven
run: mvn -B package --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Publish
- name: Publish to Github Package Apache Maven
run: |
mvn deploy -s settings.xml
mvn -e -X deploy -s settings.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}




- name: Display structure of downloaded files
run: ls -R
Expand All @@ -64,11 +64,16 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
server-username: ${{ github.ACTOR }}
server-password: ${{ github.token }}
settings-path: ${{ github.workspace }} # location for the settings.xml file


- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots verify

- name: Publish to GitHub Packages Apache Maven
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}



#- name: Create GitHub Release
# uses: actions/create-release@v1
Expand Down