-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd659f0
commit 1eab76a
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build and create a release when tag is pushed | ||
|
||
# Only deploy when a new tag is pushed | ||
# git tag v0.n | ||
# git push origin v0.n | ||
on: | ||
push: | ||
tags: | ||
- "v*.*-alpha" | ||
- "v*.*.*" | ||
- "v*.*" | ||
# branches: [ main ] | ||
# pull_request: | ||
# branches: [ main ] | ||
|
||
# Must match the project() name in CMakeLists.txt | ||
env: | ||
APP_NAME: infones64 | ||
|
||
# Allow this workflow to write back to the repository | ||
permissions: | ||
contents: write | ||
|
||
# Build binaries and create release | ||
jobs: | ||
build-release: | ||
runs-on: self-hosted | ||
name: Build and create release | ||
steps: | ||
|
||
- name: Check out this repository with submodules | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Build all the .uf2 files | ||
run: | | ||
export N64_INST=$HOME/libdragon && \ | ||
make && \ | ||
ls -l infones64.z64 | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
infones64.z64 | ||
body_path: CHANGELOG.md | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# CHANGELOG | ||
|
||
# General Info | ||
|
||
Copy infones64.z64 to your Nintendo 64 flash card. | ||
|
||
# Release notes | ||
|
||
## v0.1 | ||
|
||
### Features | ||
- Initial release, based on infonesPlus. | ||
|
||
### Fixes | ||
|