UPDATED: TYPO IN TOKEN #9
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, pull_request] | |
jobs: | |
build: | |
name: Build NDS | |
runs-on: ubuntu-latest | |
container: | |
image: devkitpro/devkitarm:latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Build | |
run: | | |
make | |
- name: Upload NDS Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: hello-world-nds.nds | |
path: hello-world-nds.nds | |
release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Download NDS Artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: hello-world-nds.nds | |
- name: Create GitHub Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: hello-world-nds.nds | |
tag: v1.0 | |
name: "Release v1.0" | |
body: "Automated release of version v1.0" | |
allowUpdates: true | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |