ak2_sd: Add second build that disables CMD25 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build nightly | |
on: | |
push: | |
branches: ["master"] | |
paths-ignore: | |
- 'README.md' | |
- archived | |
- default | |
- staging | |
- template | |
- tools | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm | |
name: Build with Docker using devkitARM | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup environment | |
run: git config --global safe.directory '*' | |
- name: Build all drivers | |
run: | | |
chmod +x build.sh | |
./build.sh | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: out | |
name: build | |
- name: Checkout artifact branch | |
uses: actions/checkout@v3 | |
with: | |
path: artifacts | |
ref: builds | |
- name: Commit artifacts | |
continue-on-error: true | |
run: | | |
rm -rf artifacts/*.dldi | |
cp -r out/*.dldi artifacts/ | |
cd artifacts | |
git add . | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git commit -a -m "Build: ${{ github.sha }}" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
continue-on-error: true | |
with: | |
directory: artifacts | |
branch: builds |