diff options
-rw-r--r-- | .github/workflows/pom.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/pom.yml b/.github/workflows/pom.yml new file mode 100644 index 0000000..5ef533b --- /dev/null +++ b/.github/workflows/pom.yml | |||
@@ -0,0 +1,30 @@ | |||
1 | name: POM generation | ||
2 | |||
3 | on: | ||
4 | pull_request: | ||
5 | push: | ||
6 | branches: [ master ] | ||
7 | paths: [ 'build.sbt' ] | ||
8 | |||
9 | jobs: | ||
10 | pom: | ||
11 | runs-on: ubuntu-latest | ||
12 | |||
13 | steps: | ||
14 | |||
15 | - uses: actions/checkout@v2 | ||
16 | with: | ||
17 | ref: ${{ github.head_ref }} | ||
18 | |||
19 | - name: Generate POM | ||
20 | run: | | ||
21 | sbt makePom | ||
22 | mv target/scala-*/rsacomb_*.pom pom.xml | ||
23 | |||
24 | - name: Commit changes | ||
25 | uses: stefanzweifel/git-auto-commit-action@v4 | ||
26 | with: | ||
27 | commit_message: "⬆ Update POM dependences" | ||
28 | commit_options: '--no-verify --signoff' | ||
29 | file_pattern: pom.xml | ||
30 | |||