forked from Ryuzaki-MrL/savemii
-
Notifications
You must be signed in to change notification settings - Fork 10
34 lines (32 loc) · 969 Bytes
/
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
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: ScribeMD/[email protected]
continue-on-error: true
id: cache
with:
key: savemii-docker-cache-${{ hashFiles('DockerFile')}}
- 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: build/Aroma/*
if-no-files-found: warn
- name: Upload HBL version
uses: actions/upload-artifact@v4
with:
name: SaveMiiModWUTPort-HBL
path: build/HBL/*
if-no-files-found: warn