forked from WerWolv/Tesla-Template
-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (37 loc) · 935 Bytes
/
build-dev.yml
File metadata and controls
45 lines (37 loc) · 935 Bytes
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
---
name: Build dev branch and upload
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkita64
env:
IS_DEV: true
steps:
- name: Show environment info
run: dkp-pacman -Q
- name: Checkout project
uses: actions/checkout@v4
with:
submodules: recursive
ref: dev
- name: Build project
run: make
- name: Create release structure
run: |
mkdir -p release/switch/.overlays
mkdir -p release/config
cp QuickNTP.ovl release/switch/.overlays/
cp quickntp.ini release/config/
- name: Read app version from makefile
run: |
echo "version=$(make print-APP_VERSION)" >> $GITHUB_ENV
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: quickntp-${{ env.version }}
path: release/
include-hidden-files: true