ci: Create GitHub release in workflow
This commit is contained in:
parent
f0c408fc9c
commit
716dbc9f08
3 changed files with 26 additions and 8 deletions
24
.github/workflows/create-release.yaml
vendored
24
.github/workflows/create-release.yaml
vendored
|
|
@ -1,5 +1,7 @@
|
|||
name: Build and release
|
||||
on: workflow_dispatch
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
|
|
@ -33,7 +35,23 @@ jobs:
|
|||
export UNION_PLATFORM=rg35xx
|
||||
make all
|
||||
|
||||
- name: Create release
|
||||
- name: Name Git tag
|
||||
run: |
|
||||
ls -a ./releases/
|
||||
echo "TODO"
|
||||
export GIT_TAG=$(cat ./build/latest.txt)
|
||||
echo "GIT_TAG=$GIT_TAG" >> $GITHUB_ENV
|
||||
|
||||
- name: Create Git tag
|
||||
uses: mathieudutour/github-tag-action@v6.1
|
||||
id: tag_version
|
||||
with:
|
||||
custom_tag: ${{env.GIT_TAG}}
|
||||
dry_run: true
|
||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: Create GitHub release
|
||||
uses: ncipollo/release-action@v1.12.0
|
||||
with:
|
||||
artifacts: "releases/*b-0-full.zip"
|
||||
draft: true
|
||||
prerelease: true
|
||||
tag: ${{steps.tag_version.outputs.new_tag}}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ Run `./start-toolchain.sh` and then `make all` in the Docker container shell.
|
|||
- ~~Add to Favorites~~
|
||||
- ~~Adjust battery capacity readings (2100 mAh, 2600 mAh, 3500 mAh)~~
|
||||
- ~~Update visible MinUI strings (show that it is the FinUI fork)~~
|
||||
- Release using GitHub Actions
|
||||
- ~~Release using GitHub Actions~~
|
||||
- Adjust overclocking and CPU usage (to maximize battery life)
|
||||
- Improve battery capacity reading accuracy
|
||||
- [...things in the old todo?...](./todo.txt)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Shortcuts #
|
||||
#############
|
||||
|
||||
| Description | Shortcut |
|
||||
| ---------------------------- | ---------------------------- |
|
||||
| Adjust brightness | MENU + VOLUME_DOWN/VOLUME_UP |
|
||||
| Add to Favorites (from menu) | SELECT |
|
||||
| Description | Shortcut |
|
||||
| -------------------------------- | ---------------------------- |
|
||||
| Adjust brightness | MENU + VOLUME_DOWN/VOLUME_UP |
|
||||
| Add/remove Favorites (from menu) | SELECT |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue