Skip to content

Testing more on Sun Sep 1 12:30:50 AM EDT 2024 #17

Testing more on Sun Sep 1 12:30:50 AM EDT 2024

Testing more on Sun Sep 1 12:30:50 AM EDT 2024 #17

Workflow file for this run

# 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
- name: Preparing settings.xml
uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[
{
"id": "packagecloud-flossware",
"configuration": {
"httpHeaders": {
"property": {
"name": "Authorization",
"value": "${env.PACKAGECLOUD_MAVEN_AUTHORIZATION}"
}
}
}
}
]
- uses: actions/setup-java@v4
with:

Check failure on line 41 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CD-CI for RPM

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 41, Col: 20): Unexpected value '' .github/workflows/main.yml (Line: 42, Col: 15): Unexpected value 'distribution'
distribution: 'temurin'
java-version: '17'
- name: Incrementing pom.xml version
run: "mvn -U build-helper:parse-version versions:set -DnewVersion=\\${parsedVersion.majorVersion}.\\${parsedVersion.nextMinorVersion} versions:commit"
- name: Build
run: mvn -U clean install
- name: Tag
run: "mvn scm:checkin scm:tag"