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

[github-actions] Update to use our Nexus #2

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
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
33 changes: 0 additions & 33 deletions .github/workflows/deploy-snapshot.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/on-pull_request-opened-synchronize-reopened.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: pull_request-opened-synchronize-reopened-event

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
job:
runs-on: ubuntu-latest

steps:
- name: Check out github-actions repo
uses: actions/checkout@v2
with:
repository: aerius/github-actions
path: aerius-github-actions
ref: v1.0.2

- uses: aerius/github-actions/events/pull_request-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JDK_VERSION: 17
23 changes: 23 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: push-event

on:
push:

jobs:
job:
runs-on: ubuntu-latest

steps:
- name: Check out github-actions repo
uses: actions/checkout@v2
with:
repository: aerius/github-actions
path: aerius-github-actions
ref: v1.0.2

- uses: aerius/github-actions/events/push-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
JDK_VERSION: 17
24 changes: 24 additions & 0 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: release-published-event

on:
release:
types: [published]

jobs:
job:
runs-on: ubuntu-latest

steps:
- name: Check out github-actions repo
uses: actions/checkout@v2
with:
repository: aerius/github-actions
path: aerius-github-actions
ref: v1.0.2

- uses: aerius/github-actions/events/release-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
JDK_VERSION: 17
26 changes: 0 additions & 26 deletions .github/workflows/test-vue-gwt.yml

This file was deleted.

12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@
</dependencyManagement>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<id>aerius-nexus</id>
<url>https://nexus.aerius.nl/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>aerius-nexus</id>
<url>https://nexus.aerius.nl/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>

<build>
Expand Down