Skip to content

Update c-cpp.yml

Update c-cpp.yml #3

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- uses: actions/checkout@v3
- name: make
run: make
- name: Extract and Print Repository Name
run: |
export REPO_NAME="${{ github.repository }}"
export REPO_NAME_ONLY="${REPO_NAME##*/}"
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: Build
path: |
${REPO_NAME_ONLY}.3dsx
${REPO_NAME_ONLY}.cia