aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pom.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/pom.yml b/.github/workflows/pom.yml
new file mode 100644
index 0000000..60b7411
--- /dev/null
+++ b/.github/workflows/pom.yml
@@ -0,0 +1,32 @@
1name: POM generation
2
3on:
4 pull_request:
5 push:
6 branches: [ master ]
7 paths: [ 'build.sbt' ]
8
9jobs:
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_user_name: GitHub POM Action
28 commit_user_email: "gh-pom@github.com"
29 commit_message: "⬆ Update POM dependences"
30 commit_options: '--no-verify --signoff'
31 file_pattern: pom.xml
32