Skip to content

Update c-cpp.yml

Update c-cpp.yml #4

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##*/}" >> $GITHUB_ENV
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: Build
path: |
${{ env.REPO_NAME_ONLY }}.3dsx
${{ env.REPO_NAME_ONLY }}.cia