Skip to content

Commit

Permalink
fix deploy-action
Browse files Browse the repository at this point in the history
SHildebrandt committed Dec 20, 2023
1 parent d4d393d commit a58ed7d
Showing 4 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build and Test LogicNG on different Operating Systems

on: [ push, pull_request ]

4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deploy
name: Deploy LogicNG to the Maven Package Registry

on: [ push, pull_request ]

@@ -14,3 +14,5 @@ jobs:
distribution: zulu
- name: Build with Maven
run: mvn -ntp deploy -DskipTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 9 additions & 7 deletions .github/workflows/mattermost.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
on: [push, pull_request]
name: Send a Mattermost Notification

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Create the Mattermost Message
run: |
echo "{\"text\":\"New Commit or PR on GitHub\", \"username\":\"GitHub\"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
- name: Create the Mattermost Message
run: |
echo "{\"text\":\"New Commit or PR on GitHub\", \"username\":\"GitHub\"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -361,12 +361,12 @@

<distributionManagement>
<repository>
<id>booleworks-registry</id>
<id>github</id>
<name>BooleWorks GitHub Registry</name>
<url>https://maven.pkg.github.com/booleworks/logicng-core</url>
</repository>
<snapshotRepository>
<id>booleworks-registry</id>
<id>github</id>
<name>BooleWorks GitHub Registry</name>
<url>https://maven.pkg.github.com/booleworks/logicng-core</url>
</snapshotRepository>

0 comments on commit a58ed7d

Please sign in to comment.