-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 949 Bytes
/
patch.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
37
38
39
40
41
name: patch
on:
# TODO: Run patch job on pull_request
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
patch:
runs-on: ubuntu-22.04
steps:
- name: Install Packages
uses: ConorMacBride/[email protected]
with:
apt: patchutils
- name: Checkout repository
uses: actions/[email protected]
- name: Make patches
# if: steps.cache-patches.outputs.cache-hit != 'true'
run: |
chmod 755 .github/patch
bash .github/patch
# TODO: Find way to uniquely label caches.
# - name: Cache patches
# id: cache-patches
# uses: actions/[email protected]
# with:
# path: patches
# key: ${{ runner.os }}-patches
- name: Commit patches
uses: GuillaumeFalourd/[email protected]
with:
commit_message: "Update NW.js patches"