-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters