forked from Ryuzaki-MrL/savemii
-
Notifications
You must be signed in to change notification settings - Fork 10
35 lines (33 loc) · 1.01 KB
/
main.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
name: CI-Release
on: [ push, pull_request ]
jobs:
build-binary:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker Layer Caching
uses: jpribyl/[email protected]
continue-on-error: true
with:
key: savemii-docker-cache-{hash}
restore-keys: |
savemii-docker-cache-
- name: Build artifacts
run: |
docker build . --file Dockerfile --tag builder
docker run --rm -v ${PWD}:/project builder make release -j$(nproc)
- name: Upload Aroma version
uses: actions/upload-artifact@v4
with:
name: SaveMiiModWUTPort-Aroma
path: SaveMiiModWUTPort-Aroma.zip
if-no-files-found: warn
- name: Upload HBL version
uses: actions/upload-artifact@v4
with:
name: SaveMiiModWUTPort-HBL
path: SaveMiiModWUTPort-HBL.zip
if-no-files-found: warn