Skip to content

Typo fix

Typo fix #263

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
container: devkitpro/devkitarm:latest
steps:
- name: Cache Build Environment
id: cache-build
uses: actions/cache@v2
with:
path: |
/usr
/opt
/agbcc
/Pokemon-Rekindled-Red
/bin
key: default-cache
- name: Checkout code
uses: actions/checkout@v2
- name: Prepare dependencies
if: steps.cache-build.outputs.cache-hit != 'true'
run: |
sudo apt update -y -qq
sudo apt install build-essential -y -qq
sudo apt install binutils-arm-none-eabi -y -qq
sudo apt-get install libpng-dev -y -qq
cd ..
git clone https://github.com/pret/agbcc --quiet
cd ./agbcc
./build.sh
./install.sh ../Pokemon-Rekindled-Red
cd ../Pokemon-Rekindled-Red
- name: Ensure setup
if: steps.cache-build.outputs.cache-hit
run: |
cd ./Pokemon-Rekindled-Red
- name: Build project
run: make
- name: Release and upload ROM
id: upload-rom
uses: softprops/action-gh-release@v1
with:
files: pokefirered.gba