-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (59 loc) · 1.78 KB
/
autobump.yml
File metadata and controls
62 lines (59 loc) · 1.78 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# shellcheck disable=all
name: Bump formulae on schedule or request
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
bump_clasp:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Checkout repository
uses: actions/checkout@v6
with:
repository: clasp-developers/clasp
path: clasp
fetch-depth: 0
- name: Update path
run: |
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Update clasp-cl
run: |
brew install sbcl
./bump-version clasp Formula/clasp-cl.rb
- name: Create Pull Request for clasp-cl
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.REPO_TOKEN }}
commit-message: Build clasp-cl
title: Build clasp-cl
branch: build-clasp-cl
base: main
bump_cando:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Checkout repository
uses: actions/checkout@v6
with:
repository: clasp-developers/clasp
path: clasp
fetch-depth: 0
- name: Update path
run: |
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Update cando
run: |
brew install sbcl
./bump-version clasp Formula/cando.rb --extensions=cando,seqan-clasp
- name: Create Pull Request for cando
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.REPO_TOKEN }}
commit-message: Build cando
title: Build cando
branch: build-cando
base: main