Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Dec 2, 2024
1 parent 25ea9bb commit d2179bb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
release:
types: [ published ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm:latest
name: Build package
steps:
- uses: actions/checkout@v4
- name: Make application
run: |
chmod +x generate_release.sh
./generate_release.sh
- name: Publish build to GH Actions
uses: actions/upload-artifact@v4
with:
path: 2DSaver.zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
2DSaver.zip

0 comments on commit d2179bb

Please sign in to comment.