Build flashcard-bootstrap Release #8
Workflow file for this run
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 flashcard-bootstrap Release | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm | |
name: Build with Docker using devkitARM | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: build r4isdhc/dsbize patcher | |
run: | | |
sudo apt update | |
sudo apt install -y gcc | |
gcc -o resource/dsbize/dsbize resource/dsbize/dsbize.c | |
chmod +x resource/dsbize/dsbize | |
- name: Make flashcard-bootstrap | |
run: | | |
make dist | |
- name: Prepare for build publishing | |
run: | | |
mkdir -p ~/artifacts | |
cp bootstrap.zip ~/artifacts | |
- name: Publish build to GH Actions | |
uses: actions/upload-artifact@v3 | |
with: | |
path: ~/artifacts/* | |
name: build | |
- name: Make release archive | |
run: | | |
cp devnotes.txt bootstrap/devnotes.txt | |
cd bootstrap | |
zip -r bootstrap.zip * | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: bootstrap.zip |