forked from ScratchEverywhere/ScratchEverywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1003 Bytes
/
nightly-switch.yml
File metadata and controls
41 lines (39 loc) · 1003 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
name: Switch Nightly Build
on:
push:
paths:
- CMakeLists.txt
- source/scratch/**
- source/sdl2/**
- gfx/menu/**
- include/**
- .github/workflows/nightly-switch.yml
- docker/Dockerfile.switch
- source/main.cpp
branches:
- main
workflow_dispatch:
jobs:
nightly:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Create `romfs` directory
run: mkdir romfs
- name: Build and Export
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.switch
target: exporter
outputs: type=local,dest=.
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Scratch Everywhere! Switch Nightly
path: scratch-nx.nro