Skip to content

Commit

Permalink
[github-actions] Update to use our Nexus (#2)
Browse files Browse the repository at this point in the history
And remove their github actions.
  • Loading branch information
SerhatG authored Jan 12, 2024
1 parent 01786e6 commit a04dfcd
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 65 deletions.
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

0 comments on commit a04dfcd

Please sign in to comment.