Skip to content

Commit d2179bb

Browse files
Add GitHub Actions
1 parent 25ea9bb commit d2179bb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
release:
8+
types: [ published ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
container: devkitpro/devkitarm:latest
15+
name: Build package
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Make application
19+
run: |
20+
chmod +x generate_release.sh
21+
./generate_release.sh
22+
- name: Publish build to GH Actions
23+
uses: actions/upload-artifact@v4
24+
with:
25+
path: 2DSaver.zip
26+
- name: Release
27+
uses: softprops/action-gh-release@v2
28+
if: startsWith(github.ref, 'refs/tags/')
29+
with:
30+
files: |
31+
2DSaver.zip

0 commit comments

Comments
 (0)