forked from runtimeverification/k
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 969 Bytes
/
update.yml
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
33
34
35
36
name: 'Update'
on:
push:
branches-ignore:
- 'master'
jobs:
# Update the pinned Maven dependencies for Nix.
# This job only runs on push events because we cannot push changes back to a
# pull request branch from a fork.
nix-maven:
name: 'Nix: Maven'
runs-on: ubuntu-latest
steps:
- name: 'Check out code'
uses: actions/[email protected]
with:
submodules: recursive
- name: 'Install Nix'
uses: cachix/install-nix-action@v12
- name: 'Install Cachix'
uses: cachix/cachix-action@v8
with:
name: runtimeverification
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipPush: true
- name: 'Update Maven dependencies'
run: ./nix/update-maven.sh
- name: 'Commit changes'
uses: stefanzweifel/[email protected]
with:
commit_message: 'Update Maven dependencies'
file_pattern: 'nix/'