https://github.com/toltec-dev/build-action
Build a package for the reMarkable using toltecmk
https://github.com/toltec-dev/build-action
action remarkable-tablet
Last synced: about 2 months ago
JSON representation
Build a package for the reMarkable using toltecmk
- Host: GitHub
- URL: https://github.com/toltec-dev/build-action
- Owner: toltec-dev
- License: mit
- Created: 2023-12-23T20:17:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T19:47:45.000Z (about 2 years ago)
- Last Synced: 2024-05-20T22:46:31.723Z (about 2 years ago)
- Topics: action, remarkable-tablet
- Language: Shell
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# build-action
Build a toltec package recipe with toltecmk.
# Usage
See [action.yml](action.yml) for the possible inputs.
*Note*: Currently this only supports ubuntu-20.04
## Package Recipe
```bash
pkgname=my-package
pkgdesc="An example package"
url=https://example.com
pkgver=0.0.1-1
timestamp=2020-10-09T18:15Z
section=util
maintainer="My Name "
license=MIT
image=toolchain:v3.1
source=(src.tar.gz)
sha256sums=(SKIP)
package() {
install -D -m 755 -t "$pkgdir"/opt/bin \
"$srcdir"/my-program
}
```
## Workflow
```yaml
jobs:
build:
name: Build package
runs-on: ubuntu-20.04
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- name: Create source tarball
run: tar -czvf src.tar.gz src
- name: Build package
uses: toltec-dev/build-action@v1
- name: Save packages
uses: actions/upload-artifact@v3
with:
name: packages
path: dist/**/*.ipk
```