diff --git a/.github/workflows/mail.yml b/.github/workflows/mail.yml new file mode 100644 index 0000000..97580f7 --- /dev/null +++ b/.github/workflows/mail.yml @@ -0,0 +1,41 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +# if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pusher.email != 'version-bump@solenopsis.org' + +name: CD-CI for RPM + +on: + push: + branches: [ sfloess_issue-10 ] + +jobs: + build: + if: github.event_name == 'push' && github.ref == 'refs/heads/sfloess_issue-10' && github.event.pusher.email != 'version-bump@solenopsis.org' + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Preparing environment + run: sudo apt-get update + + - uses: s4u/maven-settings-action@v3.0.0 + with: + servers: | + [ + { + "id": "packagecloud-flossware", + "configuration": { + "httpHeaders": { + "property": { + "name": "Authorization", + "value": "Bearer b045b19a89831f18de7baf9eca42c293e055cf70b51" + } + } + } + } + ] + + - name: Compute version + run: cat ~/.m2/settings.xml + diff --git a/pom.xml b/pom.xml index 3238178..10568ca 100755 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,8 @@ 17 17 + 0.0.6 + 3.12.0 4.0.4 4.0.4 @@ -94,6 +96,14 @@ + + + + io.packagecloud.maven.wagon + maven-packagecloud-wagon + ${io.packagecloud.maven.wagon_maven-packagecloud-wagon} + + @@ -127,8 +137,11 @@ packagecloud-flossware - packagecloud-flossware + packagecloud-sflossware/name> + + https://packagecloud.io/flossware/maven/maven2 \ No newline at end of file