Update c-cpp.yml #3
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: 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 |