aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pom.yml
blob: 60b741119ba747157b67c025c92777086d709aca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: POM generation

on:
  pull_request:
  push:
    branches: [ master ]
    paths: [ 'build.sbt' ]

jobs:
  pom:
    runs-on: ubuntu-latest

    steps:

    - uses: actions/checkout@v2
      with:
        ref: ${{ github.head_ref }}

    - name: Generate POM
      run: |
        sbt makePom
        mv target/scala-*/rsacomb_*.pom pom.xml

    - name: Commit changes
      uses: stefanzweifel/git-auto-commit-action@v4
      with:
        commit_user_name: GitHub POM Action
        commit_user_email: "gh-pom@github.com"
        commit_message: "⬆ Update POM dependences"
        commit_options: '--no-verify --signoff'
        file_pattern: pom.xml