Skip to content

Commit

Permalink
Use the new AERIUS GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhatG committed Apr 28, 2022
1 parent 7d0a192 commit ee25860
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 39 deletions.
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

- uses: aerius/github-actions/events/pull_request-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

24 changes: 24 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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

- uses: aerius/github-actions/events/push-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

25 changes: 25 additions & 0 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

- uses: aerius/github-actions/events/release-event-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

39 changes: 0 additions & 39 deletions .github/workflows/publish_artifact.yaml

This file was deleted.

0 comments on commit ee25860

Please sign in to comment.