Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sfloess committed Sep 1, 2024
1 parent 0da3c41 commit c80fcc7
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/mail.yml
Original file line number Diff line number Diff line change
@@ -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

15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<io.packagecloud.maven.wagon_maven-packagecloud-wagon>0.0.6</io.packagecloud.maven.wagon_maven-packagecloud-wagon>

<org.apache.commons_commons-lang3>3.12.0</org.apache.commons_commons-lang3>
<org.apache.cxf_rt-frontend-jaxws>4.0.4</org.apache.cxf_rt-frontend-jaxws>
<org.apache.cxf_cxf-core>4.0.4</org.apache.cxf_cxf-core>
Expand Down Expand Up @@ -94,6 +96,14 @@
</plugin>
</plugins>
</pluginManagement>

<extensions>
<extension>
<groupId>io.packagecloud.maven.wagon</groupId>
<artifactId>maven-packagecloud-wagon</artifactId>
<version>${io.packagecloud.maven.wagon_maven-packagecloud-wagon}</version>
</extension>
</extensions>
</build>

<dependencies>
Expand Down Expand Up @@ -127,8 +137,11 @@
<distributionManagement>
<repository>
<id>packagecloud-flossware</id>
<name>packagecloud-flossware</name>
<name>packagecloud-sflossware/name>
<!--
<url>https://packagecloud.io/flossware/java/maven2/</url>
-->
<url>https://packagecloud.io/flossware/maven/maven2</url>
</repository>
</distributionManagement>
</project>

0 comments on commit c80fcc7

Please sign in to comment.