Skip to content

Commit

Permalink
Kaster ut rultor. Tar inn Github actions.
Browse files Browse the repository at this point in the history
Jeg bytter parent pom til en mye enklere. #pragmatisk
  • Loading branch information
eivinhb committed Oct 29, 2020
1 parent a453e4e commit 36decd7
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 228 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Java CI

on: [push]
on:
push:
branches:
- '**'

jobs:
build:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-18.04
steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Set release version
run: mvn versions:set --no-transfer-progress -DnewVersion=$(echo ${GITHUB_REF:10})

- name: Release to Sonatype
uses: samuelmeuli/[email protected]
with:
gpg_private_key: ${{ secrets.gpg_private_key }}
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_username }}
nexus_password: ${{ secrets.nexus_password }}
maven_args: ' --no-transfer-progress '
maven_profiles: 'deploy,gpg'
13 changes: 0 additions & 13 deletions .rultor.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .scrt/pubring.pgp.asc

This file was deleted.

71 changes: 0 additions & 71 deletions .scrt/secring.pgp.asc

This file was deleted.

21 changes: 0 additions & 21 deletions .scrt/settings.xml.asc

This file was deleted.

1 change: 0 additions & 1 deletion mvn/maven.config

This file was deleted.

Loading

0 comments on commit 36decd7

Please sign in to comment.