-
Notifications
You must be signed in to change notification settings - Fork 7
26 lines (26 loc) · 916 Bytes
/
build.yaml
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
name: build
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@v3
- name: "Bundle OCBundle"
working-directory: ./Sources/OCBundle
run: zip -qqrX ../../OCBundle.zip ./
- name: "Bundle AIO"
working-directory: ./Sources/AIO
run: zip -qqrX ../../AIO.zip ./
- name: "Bundle OC-Suite Configurator"
working-directory: ./Sources/OCBundle
run: zip -qqrX "../../OC-Suite Configurator.zip" "./switch/.packages/OC-Suite Configurator" ./switch/.overlays/ovlmenu.ovl
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "build: the recent bundle"
file_pattern: "*.zip"