Crashing On Specific Profiles #86
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: Release | |
on: | |
issue_comment: | |
types: [ created ] | |
jobs: | |
build_and_release: | |
name: Build and release | |
runs-on: ubuntu-latest | |
container: devkitpro/devkita64:latest | |
if: contains(github.event.comment.body, '/release-action') | |
steps: | |
- name: Update packages | |
run: | | |
sudo -n apt-get update | |
sudo -n apt-get upgrade -y git build-essential | |
shell: bash | |
- name: Update latest libnx | |
run: | | |
git config --global --add safe.directory "*" | |
git clone --recurse-submodules https://github.com/zdm65477730/libnx.git | |
cd libnx | |
make install -j$(nproc) | |
shell: bash | |
- name: Checkout latest code | |
uses: actions/[email protected] | |
with: | |
ref: master | |
clean: true | |
fetch-depth: 0 | |
fetch-tags: true | |
submodules: recursive | |
- name: Setup ENV parameters | |
run: | | |
VER_FILE=Application/Makefile | |
VERSION=$(awk '/^VER_MAJOR/{print $3}' $VER_FILE).$(awk '/^VER_MINOR/{print $3}' $VER_FILE).$(awk '/^VER_MICRO/{print $3}' $VER_FILE) | |
echo "TAG=v${VERSION}" > "${GITHUB_ENV}" | |
echo "RELEASE_NAME=NX-Activity-Log v${VERSION}" >> "${GITHUB_ENV}" | |
shell: bash | |
- name: Build | |
run: | | |
export DEVKITPRO=/opt/devkitpro | |
make -j$(nproc) | |
shell: bash | |
- name: Upload Release Asset | |
uses: softprops/[email protected] | |
with: | |
name: ${{ env.RELEASE_NAME }} | |
tag_name: ${{ env.TAG }} | |
draft: false | |
prerelease: false | |
generate_release_notes: yes | |
make_latest: true | |
files: | | |
./sdcard/switch/NX-Activity-Log/NX-Activity-Log.nro |